Calendar.ToInstant 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.
Converts this object to an Instant.
[Android.Runtime.Register("toInstant", "()Ljava/time/Instant;", "", ApiSince=26)]
public Java.Time.Instant ToInstant();
[<Android.Runtime.Register("toInstant", "()Ljava/time/Instant;", "", ApiSince=26)>]
member this.ToInstant : unit -> Java.Time.Instant
Returns
the instant representing the same point on the time-line
- Attributes
Remarks
Converts this object to an Instant. The conversion creates an Instant that represents the same point on the time-line as this Calendar.
Java reference for java.util.Calendar.toInstant.