OffsetTime.ToLocalTime 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.
Gets the LocalTime part of this offset time.
[Android.Runtime.Register("toLocalTime", "()Ljava/time/LocalTime;", "", ApiSince=26)]
public Java.Time.LocalTime? ToLocalTime();
[<Android.Runtime.Register("toLocalTime", "()Ljava/time/LocalTime;", "", ApiSince=26)>]
member this.ToLocalTime : unit -> Java.Time.LocalTime
Returns
the local time, not null
- Attributes
Remarks
Gets the LocalTime part of this offset time. This returns a LocalTime with the same hour, minute, second and nanosecond as this offset time.
Java reference for java.time.OffsetTime.toLocalTime.