Noda Time
TzdbZoneLocation Constructor (latitudeSeconds, longitudeSeconds, countryName, countryCode, zoneId, comment)
NamespacesNodaTime.TimeZonesTzdbZoneLocationTzdbZoneLocation(Int32, Int32, String, String, String, String)

[This is preliminary documentation and is subject to change.]

Creates a new location.
Declaration Syntax
C#Visual BasicVisual C++
public TzdbZoneLocation(
	int latitudeSeconds,
	int longitudeSeconds,
	string countryName,
	string countryCode,
	string zoneId,
	string comment
)
Public Sub New ( _
	latitudeSeconds As Integer, _
	longitudeSeconds As Integer, _
	countryName As String, _
	countryCode As String, _
	zoneId As String, _
	comment As String _
)
public:
TzdbZoneLocation(
	int latitudeSeconds, 
	int longitudeSeconds, 
	String^ countryName, 
	String^ countryCode, 
	String^ zoneId, 
	String^ comment
)
Parameters
latitudeSeconds (Int32)
Latitude of the location, in seconds.
longitudeSeconds (Int32)
Longitude of the location, in seconds.
countryName (String)
English country name of the location, in degrees. Must not be null.
countryCode (String)
ISO-3166 country code of the location. Must not be null.
zoneId (String)
Time zone identifier of the location. Must not be null.
comment (String)
Optional comment. Must not be null, but may be empty.
Remarks
This constructor is only public for the sake of testability. Non-test code should usually obtain locations from a TzdbDateTimeZoneSource.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionThe latitude or longitude is invalid.

Assembly: NodaTime (Module: NodaTime.dll) Version: 1.2.0.0 (1.2.0)