System.TimeZone: Method Members

The methods of System.TimeZone are listed below. For a list of all members, see the TimeZone Members list.

See Also: Inherited members from System.Object

Public Methods

abstract
GetDaylightChanges(int) : System.Globalization.DaylightTime

Returns the daylight saving time period for a particular year.

abstract
GetUtcOffset(DateTime) : TimeSpan

Returns the Coordinated Universal Time (UTC) offset for the specified local time.

IsDaylightSavingTime(DateTime) : bool

Returns a value indicating whether the specified date and time is within a daylight saving time period.

static
IsDaylightSavingTime(DateTime, System.Globalization.DaylightTime) : bool

Returns a value indicating whether the specified date and time is within the specified daylight saving time period.

ToLocalTime(DateTime) : DateTime

Returns the local time that corresponds to a specified date and time value.

ToUniversalTime(DateTime) : DateTime

Returns the Coordinated Universal Time (UTC) that corresponds to a specified time.