LocalTime.ToEpochSecond(LocalDate, 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.
Converts this LocalTime to the number of seconds since the epoch of 1970-01-01T00:00:00Z.
[Android.Runtime.Register("toEpochSecond", "(Ljava/time/LocalDate;Ljava/time/ZoneOffset;)J", "", ApiSince=31)]
public long ToEpochSecond(Java.Time.LocalDate? date, Java.Time.ZoneOffset? offset);
[<Android.Runtime.Register("toEpochSecond", "(Ljava/time/LocalDate;Ljava/time/ZoneOffset;)J", "", ApiSince=31)>]
member this.ToEpochSecond : Java.Time.LocalDate * Java.Time.ZoneOffset -> int64
Parameters
- date
- LocalDate
the local date, not null
- offset
- ZoneOffset
the zone offset, not null
Returns
the number of seconds since the epoch of 1970-01-01T00:00:00Z, may be negative
- Attributes
Remarks
To be added.
Java reference for java.time.LocalTime.toEpochSecond.