LocalTime.AtOffset(ZoneOffset) 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.
Combines this time with an offset to create an OffsetTime.
[Android.Runtime.Register("atOffset", "(Ljava/time/ZoneOffset;)Ljava/time/OffsetTime;", "", ApiSince=26)]
public Java.Time.OffsetTime? AtOffset(Java.Time.ZoneOffset? offset);
[<Android.Runtime.Register("atOffset", "(Ljava/time/ZoneOffset;)Ljava/time/OffsetTime;", "", ApiSince=26)>]
member this.AtOffset : Java.Time.ZoneOffset -> Java.Time.OffsetTime
Parameters
- offset
- ZoneOffset
the offset to combine with, not null
Returns
the offset time formed from this time and the specified offset, not null
- Attributes
Remarks
Combines this time with an offset to create an OffsetTime. This returns an OffsetTime formed from this time at the specified offset. All possible combinations of time and offset are valid.
Java reference for java.time.LocalTime.atOffset.