Class NSTimeZoneData
Information about a TimeZone.
Syntax
Constructors
NSTimeZoneData()
Initializes a new instance of the NSTimeZoneData class.
Declaration
NSTimeZoneData
Methods
GetIsoNumber()
Information about a TimeZone.
Declaration
Integer GetIsoNumber()
Returns
Type | Description |
---|---|
Integer |
Examples
NSTimeZoneData thing;
Integer isoNumber = thing.GetIsoNumber();
GetName()
Information about a TimeZone.
Declaration
String GetName()
Returns
Type | Description |
---|---|
String | Name associated with the location. |
Examples
NSTimeZoneData thing;
String name = thing.GetName();
GetTimeZoneDSTRules()
Information about a TimeZone.
Declaration
Map GetTimeZoneDSTRules()
Returns
Type | Description |
---|---|
Map | Rules for daylight savings time. |
Examples
NSTimeZoneData thing;
Map timeZoneDSTRules = thing.GetTimeZoneDSTRules();
GetTimeZoneSTDRules()
Information about a TimeZone.
Declaration
Map GetTimeZoneSTDRules()
Returns
Type | Description |
---|---|
Map | Rules for standard time. |
Examples
NSTimeZoneData thing;
Map timeZoneSTDRules = thing.GetTimeZoneSTDRules();
GetTZLocationCities()
Information about a TimeZone.
Declaration
String GetTZLocationCities()
Returns
Type | Description |
---|---|
String | Cities associated with location. |
Examples
NSTimeZoneData thing;
String tZLocationCities = thing.GetTZLocationCities();
GetTZLocationCode()
Information about a TimeZone.
Declaration
String GetTZLocationCode()
Returns
Type | Description |
---|---|
String | Code associated with location. |
Examples
NSTimeZoneData thing;
String tZLocationCode = thing.GetTZLocationCode();
GetTZLocationID()
Information about a TimeZone.
Declaration
Integer GetTZLocationID()
Returns
Type | Description |
---|---|
Integer | Timezone location Id. |
Examples
NSTimeZoneData thing;
Integer tZLocationID = thing.GetTZLocationID();
SetIsoNumber(Integer)
Information about a TimeZone.
Declaration
Void SetIsoNumber(Integer isoNumber)
Parameters
Type | Name | Description |
---|---|---|
Integer | isoNumber |
Returns
Type | Description |
---|---|
Void |
Examples
NSTimeZoneData thing;
Integer isoNumber;
thing.SetIsoNumber(isoNumber);
SetName(String)
Information about a TimeZone.
Declaration
Void SetName(String name)
Parameters
Type | Name | Description |
---|---|---|
String | name | Name associated with the location. |
Returns
Type | Description |
---|---|
Void |
Examples
NSTimeZoneData thing;
String name;
thing.SetName(name);
SetTimeZoneDSTRules(Map)
Information about a TimeZone.
Declaration
Void SetTimeZoneDSTRules(Map timeZoneDSTRules)
Parameters
Type | Name | Description |
---|---|---|
timeZoneDSTRules | Rules for daylight savings time. |
Returns
Type | Description |
---|---|
Void |
Examples
NSTimeZoneData thing;
Map timeZoneDSTRules;
thing.SetTimeZoneDSTRules(timeZoneDSTRules);
SetTimeZoneSTDRules(Map)
Rules for standard time
Declaration
Void SetTimeZoneSTDRules(Map timeZoneSTDRules)
Parameters
Type | Name | Description |
---|---|---|
timeZoneSTDRules | Rules for standard time. |
Returns
Type | Description |
---|---|
Void |
Examples
NSTimeZoneData thing;
Map timeZoneSTDRules;
thing.SetTimeZoneSTDRules(timeZoneSTDRules);
SetTZLocationCities(String)
Information about a TimeZone.
Declaration
Void SetTZLocationCities(String tZLocationCities)
Parameters
Type | Name | Description |
---|---|---|
String | tZLocationCities | Cities associated with location. |
Returns
Type | Description |
---|---|
Void |
Examples
NSTimeZoneData thing;
String tZLocationCities;
thing.SetTZLocationCities(tZLocationCities);
SetTZLocationCode(String)
Information about a TimeZone.
Declaration
Void SetTZLocationCode(String tZLocationCode)
Parameters
Type | Name | Description |
---|---|---|
String | tZLocationCode | Code associated with location. |
Returns
Type | Description |
---|---|
Void |
Examples
NSTimeZoneData thing;
String tZLocationCode;
thing.SetTZLocationCode(tZLocationCode);
SetTZLocationID(Integer)
Information about a TimeZone.
Declaration
Void SetTZLocationID(Integer tZLocationID)
Parameters
Type | Name | Description |
---|---|---|
Integer | tZLocationID | Timezone location Id. |
Returns
Type | Description |
---|---|
Void |
Examples
NSTimeZoneData thing;
Integer tZLocationID;
thing.SetTZLocationID(tZLocationID);