共用方式為


ZoneOffset.Rules Property

Definition

Gets the associated time-zone rules.

public override Java.Time.Zone.ZoneRules? Rules { [Android.Runtime.Register("getRules", "()Ljava/time/zone/ZoneRules;", "", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getRules", "()Ljava/time/zone/ZoneRules;", "", ApiSince=26)>]
member this.Rules : Java.Time.Zone.ZoneRules

Property Value

the rules, not null

Attributes

Remarks

Gets the associated time-zone rules.

The rules will always return this offset when queried. The implementation class is immutable, thread-safe and serializable.

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

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