W3cubDocs

/Haxe C#

TimeZone

package cs.system

@:abstract@:libType@:csNative@:native("System.TimeZone") Available on cs

Variables

read only DaylightName:String

read only StandardName:String

Methods

@:overload GetDaylightChanges (year:Int):DaylightTime

@:overload GetUtcOffset (time:DateTime):TimeSpan

@:overload IsDaylightSavingTime (time:DateTime):Bool

@:overload ToLocalTime (time:DateTime):DateTime

@:overload ToUniversalTime (time:DateTime):DateTime

Static variables

static read only CurrentTimeZone:TimeZone

Static methods

@:final @:overload static IsDaylightSavingTime (time:DateTime, daylightTimes:DaylightTime):Bool

@:native("IsDaylightSavingTime") @:final @:overload static _IsDaylightSavingTime (time:DateTime, daylightTimes:DaylightTime):Bool

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/cs/system/TimeZone.html