Condividi tramite


ZoneOffset.Id Property

Definition

Gets the normalized zone offset ID.

public override string? Id { [Android.Runtime.Register("getId", "()Ljava/lang/String;", "", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getId", "()Ljava/lang/String;", "", ApiSince=26)>]
member this.Id : string

Property Value

the zone offset ID, not null

Attributes

Remarks

Gets the normalized zone offset ID.

The ID is minor variation to the standard ISO-8601 formatted string for the offset. There are three formats: <ul> <li>Z - for UTC (ISO-8601) <li>+hh:mm or -hh:mm - if the seconds are zero (ISO-8601) <li>+hh:mm:ss or -hh:mm:ss - if the seconds are non-zero (not ISO-8601) </ul>

Java documentation for java.time.ZoneOffset.getId().

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