Udostępnij za pośrednictwem


TimeZone.GetAvailableIDs Method

Definition

Overloads

GetAvailableIDs()

Gets all the available IDs supported.

GetAvailableIDs(Int32)

Gets the available IDs according to the given time zone offset in milliseconds.

GetAvailableIDs()

Gets all the available IDs supported.

[Android.Runtime.Register("getAvailableIDs", "()[Ljava/lang/String;", "")]
public static string[]? GetAvailableIDs ();
[<Android.Runtime.Register("getAvailableIDs", "()[Ljava/lang/String;", "")>]
static member GetAvailableIDs : unit -> string[]

Returns

String[]

an array of IDs.

Attributes

Remarks

Gets all the available IDs supported.

Java documentation for java.util.TimeZone.getAvailableIDs().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

GetAvailableIDs(Int32)

Gets the available IDs according to the given time zone offset in milliseconds.

[Android.Runtime.Register("getAvailableIDs", "(I)[Ljava/lang/String;", "")]
public static string[]? GetAvailableIDs (int rawOffset);
[<Android.Runtime.Register("getAvailableIDs", "(I)[Ljava/lang/String;", "")>]
static member GetAvailableIDs : int -> string[]

Parameters

rawOffset
Int32

the given time zone GMT offset in milliseconds.

Returns

String[]

an array of IDs, where the time zone for that ID has the specified GMT offset. For example, "America/Phoenix" and "America/Denver" both have GMT-07:00, but differ in daylight saving behavior.

Attributes

Remarks

Gets the available IDs according to the given time zone offset in milliseconds.

Java documentation for java.util.TimeZone.getAvailableIDs(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to