TimeZoneNames.GetReferenceZoneID(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the reference zone ID for the given meta zone ID for the region.
[Android.Runtime.Register("getReferenceZoneID", "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;", "GetGetReferenceZoneID_Ljava_lang_String_Ljava_lang_String_Handler", ApiSince=24)]
public abstract string? GetReferenceZoneID (string? mzID, string? region);
[<Android.Runtime.Register("getReferenceZoneID", "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;", "GetGetReferenceZoneID_Ljava_lang_String_Ljava_lang_String_Handler", ApiSince=24)>]
abstract member GetReferenceZoneID : string * string -> string
Parameters
- mzID
- String
The meta zone ID.
- region
- String
The region.
Returns
The reference zone ID ("golden zone" in the LDML specification) for the given time zone ID for the region. If the meta zone is unknown or the implementation does not support meta zones, null is returned.
- Attributes
Remarks
Returns the reference zone ID for the given meta zone ID for the region.
Note: Each meta zone must have a reference zone associated with a special region "001" (world). Some meta zones may have region specific reference zone IDs other than the special region "001". When a meta zone does not have any region specific reference zone IDs, this method return the reference zone ID for the special region "001" (world).
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.