CloudTimeZoneResult¶
Namespace: ThinkGeo.Core
Represents the result of the TimeZone.
public class CloudTimeZoneResult
Inheritance Object → CloudTimeZoneResult
Remarks:
Represents the result of the TimeZone.
Properties¶
TimeZone¶
The Olsen ID of the timezone.
public string TimeZone { get; }
Property Value¶
CountryName¶
The country name.
public string CountryName { get; }
Property Value¶
CountryCode¶
The country code.
public string CountryCode { get; }
Property Value¶
Comment¶
The comment.
public string Comment { get; }
Property Value¶
CurrentLocalTime¶
The current local time.
public DateTime CurrentLocalTime { get; }
Property Value¶
CurrentUtcTime¶
The current UTC time.
public DateTime CurrentUtcTime { get; }
Property Value¶
OffsetSeconds¶
The number of seconds the local timezone is offset from UTC.
public double OffsetSeconds { get; }
Property Value¶
DaylightSavingsActive¶
Whether the Daylight Savings Time is currently active.
public bool DaylightSavingsActive { get; }
Property Value¶
Shape¶
The shape of the timezone.
public MultipolygonShape Shape { get; }
Property Value¶
Constructors¶
CloudTimeZoneResult(String, String, String, String, DateTime, DateTime, Double, Boolean, MultipolygonShape)¶
The constructor of this class.
public CloudTimeZoneResult(string timezone, string countryName, string countryCode, string comment, DateTime currentLocalTime, DateTime currentUtcTime, double offsetSeconds, bool daylightSavingsActive, MultipolygonShape shape)
Parameters¶
timezone
String
The Olsen ID of the timezone
countryName
String
The country name
countryCode
String
The country code
comment
String
The comment
currentLocalTime
DateTime
The current local time
currentUtcTime
DateTime
The current UTC time
offsetSeconds
Double
The number of seconds the local timezone is offset from UTC
daylightSavingsActive
Boolean
Whether the Daylight Savings Time is currently active.
shape
MultipolygonShape
The shape of the timezone