The members of Java.Util.TimeZone are listed below.
See Also: Inherited members from Java.Lang.Object
TimeZone() |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
const | Long | TimeZoneStyle (1). The long display name style, such as Pacific Daylight Time. |
const | Short | TimeZoneStyle (0). The short display name style, such as PDT. |
static | Default | TimeZone. Returns the user's preferred time zone. |
[read-only] | DisplayName | string. Equivalent to getDisplayName(false, TimeZone.LONG, Locale.getDefault()). |
[read-only] | DSTSavings | int. Returns the latest daylight savings in milliseconds for this time zone, relative to this time zone's regular UTC offset (as returned by TimeZone.RawOffset). |
ID | string. Returns the ID of this TimeZone, such as America/Los_Angeles, GMT-08:00 or UTC. | |
abstract | RawOffset | int. Returns the offset in milliseconds from UTC of this time zone's standard time. |
[read-only] override | ThresholdClass | IntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
[read-only] override | ThresholdType | Type. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
Clone()Returns a new time zone with the same ID, raw offset, and daylight savings time rules as this time zone. | ||
static | GetAvailableIDs()Returns the system's installed time zone IDs. | |
static | GetAvailableIDs(int)Returns the IDs of the time zones whose offset from UTC is offsetMillis. | |
GetDisplayName(Locale)Equivalent to getDisplayName(false, TimeZone.LONG, locale). | ||
GetDisplayName(bool, TimeZoneStyle)Equivalent to getDisplayName(daylightTime, style, Locale.getDefault()). | ||
GetDisplayName(bool, TimeZoneStyle, Locale)Returns the TimeZone.Short or TimeZone.Long name of this time zone with either standard or daylight time, as written in locale. | ||
GetOffset(long)Returns the offset in milliseconds from UTC for this time zone at time. | ||
abstract | GetOffset(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)Returns a TimeZone corresponding to the given id, or GMT for unknown ids. | |
HasSameRules(TimeZone)Returns true if timeZone has the same rules as this time zone. | ||
abstract | InDaylightTime(Date)Returns true if time is in a daylight savings time period for this time zone. | |
ObservesDaylightTime()Documentation for this section has not yet been entered. | ||
abstract | UseDaylightTime()Returns true if this time zone has a future transition to or from daylight savings time. |