ZoneRules.IsDaylightSavings(Instant) 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.
Checks whether the specified instant is in daylight savings.
[Android.Runtime.Register("isDaylightSavings", "(Ljava/time/Instant;)Z", "", ApiSince=26)]
public bool IsDaylightSavings(Java.Time.Instant? instant);
[<Android.Runtime.Register("isDaylightSavings", "(Ljava/time/Instant;)Z", "", ApiSince=26)>]
member this.IsDaylightSavings : Java.Time.Instant -> bool
Parameters
- instant
- Instant
The instant to check for daylight savings. Fixed-offset rules may ignore null; variable rules do not.
Returns
true if the specified instant is in daylight savings; otherwise, false.
- Attributes
Exceptions
Thrown if instant is null and the rules are not fixed-offset.