Language

ZoneRules.GetStandardOffset(Instant) Method

Definition

Gets the standard offset for the specified instant in this zone.

[Android.Runtime.Register("getStandardOffset", "(Ljava/time/Instant;)Ljava/time/ZoneOffset;", "", ApiSince=26)]
public Java.Time.ZoneOffset? GetStandardOffset(Java.Time.Instant? instant);
[<Android.Runtime.Register("getStandardOffset", "(Ljava/time/Instant;)Ljava/time/ZoneOffset;", "", ApiSince=26)>]
member this.GetStandardOffset : Java.Time.Instant -> Java.Time.ZoneOffset

Parameters

instant
Instant

The instant to find the offset information for; null may be ignored if the rules have a single standard offset for all instants.

Returns

The standard offset for the specified instant.

Attributes

Remarks

Gets the standard offset for the specified instant in this zone. This provides access to historic information on how the standard offset has changed over time. The standard offset is the offset before any daylight saving time is applied. This is typically the offset applicable during winter.

Java reference for java.time.zone.ZoneRules.getStandardOffset.

Applies to