ZonedDateTime.WithLaterOffsetAtOverlap 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.
Returns a copy of this date-time changing the zone offset to the later of the two valid offsets at a local time-line overlap.
[Android.Runtime.Register("withLaterOffsetAtOverlap", "()Ljava/time/ZonedDateTime;", "", ApiSince=26)]
public Java.Time.ZonedDateTime? WithLaterOffsetAtOverlap();
[<Android.Runtime.Register("withLaterOffsetAtOverlap", "()Ljava/time/ZonedDateTime;", "", ApiSince=26)>]
member this.WithLaterOffsetAtOverlap : unit -> Java.Time.ZonedDateTime
Returns
a ZonedDateTime based on this date-time with the later offset, not null
- Attributes
Remarks
Returns a copy of this date-time changing the zone offset to the later of the two valid offsets at a local time-line overlap. This method only has any effect when the local time-line overlaps, such as at an autumn daylight savings cutover. In this scenario, there are two valid offsets for the local date-time. Calling this method will return a zoned date-time with the later of the two selected. If this method is called when it is not an overlap, this is returned. This instance is immutable and unaffected by this method call.
Java reference for java.time.ZonedDateTime.withLaterOffsetAtOverlap.