Skip to content

CloudTimeZoneResult

Namespace: ThinkGeo.Core

Represents the result of the TimeZone.

public class CloudTimeZoneResult

Inheritance ObjectCloudTimeZoneResult

Remarks:

Represents the result of the TimeZone.

Properties

TimeZone

The Olsen ID of the timezone.

public string TimeZone { get; }

Property Value

String

CountryName

The country name.

public string CountryName { get; }

Property Value

String

CountryCode

The country code.

public string CountryCode { get; }

Property Value

String

Comment

The comment.

public string Comment { get; }

Property Value

String

CurrentLocalTime

The current local time.

public DateTime CurrentLocalTime { get; }

Property Value

DateTime

CurrentUtcTime

The current UTC time.

public DateTime CurrentUtcTime { get; }

Property Value

DateTime

OffsetSeconds

The number of seconds the local timezone is offset from UTC.

public double OffsetSeconds { get; }

Property Value

Double

DaylightSavingsActive

Whether the Daylight Savings Time is currently active.

public bool DaylightSavingsActive { get; }

Property Value

Boolean

Shape

The shape of the timezone.

public MultipolygonShape Shape { get; }

Property Value

MultipolygonShape

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