Java.Util.TimeZone: Method Members

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

See Also: Inherited members from Java.Lang.Object

Public Methods

Clone() : Java.Lang.Object
Returns a new time zone with the same ID, raw offset, and daylight savings time rules as this time zone.
static
GetAvailableIDs() : string[]
Returns the system's installed time zone IDs.
static
GetAvailableIDs(int) : string[]
Returns the IDs of the time zones whose offset from UTC is offsetMillis.
GetDisplayName(Locale) : string
Equivalent to getDisplayName(false, TimeZone.LONG, locale).
GetDisplayName(bool, TimeZoneStyle) : string
Equivalent to getDisplayName(daylightTime, style, Locale.getDefault()).
GetDisplayName(bool, TimeZoneStyle, Locale) : string
Returns the TimeZone.Short or TimeZone.Long name of this time zone with either standard or daylight time, as written in locale.
GetOffset(long) : int
Returns the offset in milliseconds from UTC for this time zone at time.
abstract
GetOffset(int, int, int, int, int, int) : int
Returns this time zone's offset in milliseconds from UTC at the specified date and time.
static
GetTimeZone(string) : TimeZone
Returns a TimeZone corresponding to the given id, or GMT for unknown ids.
HasSameRules(TimeZone) : bool
Returns true if timeZone has the same rules as this time zone.
abstract
InDaylightTime(Date) : bool
Returns true if time is in a daylight savings time period for this time zone.
ObservesDaylightTime() : bool
Documentation for this section has not yet been entered.
abstract
UseDaylightTime() : bool
Returns true if this time zone has a future transition to or from daylight savings time.