Share via


TimeZoneNames.GetMetaZoneID(String, Int64) Method

Definition

Returns the meta zone ID for the given canonical time zone ID at the given date.

[Android.Runtime.Register("getMetaZoneID", "(Ljava/lang/String;J)Ljava/lang/String;", "GetGetMetaZoneID_Ljava_lang_String_JHandler", ApiSince=24)]
public abstract string? GetMetaZoneID (string? tzID, long date);
[<Android.Runtime.Register("getMetaZoneID", "(Ljava/lang/String;J)Ljava/lang/String;", "GetGetMetaZoneID_Ljava_lang_String_JHandler", ApiSince=24)>]
abstract member GetMetaZoneID : string * int64 -> string

Parameters

tzID
String

The canonical time zone ID.

date
Int64

The date.

Returns

The meta zone ID for the given time zone ID at the given date. If the time zone does not have a corresponding meta zone at the given date or the implementation does not support meta zones, null is returned.

Attributes

Remarks

Returns the meta zone ID for the given canonical time zone ID at the given date.

Java documentation for android.icu.text.TimeZoneNames.getMetaZoneID(java.lang.String, long).

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