Class type Goog.‚ÄčI18n.‚ÄčtimeZone

class type timeZone = object..end

method getDaylightAdjustment : Js.date Js.t -> int Js.meth

Return the DST adjustment to the time zone offset for a given time. While Daylight Saving Time is in effect, this number is positive. Otherwise, it is zero. Returns The DST adjustment in minutes EAST of UTC.

method getGMTString : Js.date Js.t -> Js.js_string Js.t Js.meth

Return the GMT representation of this time zone object. Returns GMT representation string.

method getLongName : Js.date Js.t -> Js.js_string Js.t Js.meth

Get the long time zone name for a given date/time. Returns The long time zone name.

method getOffset : Js.date Js.t -> int Js.meth

Get the time zone offset in minutes WEST of UTC for a given date/time. Returns The time zone offset in minutes WEST of UTC.

method getRFCTimeZoneString : Js.date Js.t -> Js.js_string Js.t Js.meth

Get the RFC representation of the time zone for a given date/time. Returns The RFC time zone string.

method getShortName : Js.date Js.t -> int Js.meth

Get the short time zone name for given date/time. Returns The short time zone name.

method getTimeZoneId : Js.js_string Js.t Js.meth

Return the time zone ID for this time zone. Returns The time zone ID.

method isDaylightTime : Js.date Js.t -> bool Js.t Js.meth

Check if Daylight Saving Time is in effect at a given time in this time zone. Returns True if Daylight Saving Time is in effect.