ZoneId.Normalized 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.
Normalizes the time-zone ID, returning a ZoneOffset where possible.
[Android.Runtime.Register("normalized", "()Ljava/time/ZoneId;", "GetNormalizedHandler", ApiSince=26)]
public virtual Java.Time.ZoneId? Normalized();
[<Android.Runtime.Register("normalized", "()Ljava/time/ZoneId;", "GetNormalizedHandler", ApiSince=26)>]
abstract member Normalized : unit -> Java.Time.ZoneId
override this.Normalized : unit -> Java.Time.ZoneId
Returns
the normalized ZoneId, not null
- Attributes
Remarks
Normalizes the time-zone ID, returning a ZoneOffset where possible. This returns a normalized ZoneId that can be used in place of this ID. The result will have ZoneRules equivalent to those returned by this object, however the ID returned by getId() may be different. The normalization checks if the rules of this ZoneId have a fixed offset. If they do, then the ZoneOffset equal to that offset is returned. Otherwise this is returned.
Java reference for java.time.ZoneId.normalized.