toInstant
toInstant: (ChronoZonedDateTime) -> InstantThe instant.
| Method | Returns | Description |
|---|---|---|
toInstant() | Instant | The instant. |
toEpochSecond() | number | Seconds since the epoch. |
isAfter(ChronoZonedDateTime) | boolean | Whether this instant is after other's. |
isBefore(ChronoZonedDateTime) | boolean | Whether this instant is before other's. |
toInstanttoInstant: (ChronoZonedDateTime) -> InstantThe instant.
toEpochSecondtoEpochSecond: (ChronoZonedDateTime) -> numberSeconds since the epoch.
isAfterisAfter: (ChronoZonedDateTime, ChronoZonedDateTime) -> booleanWhether this instant is after other's.
isBeforeisBefore: (ChronoZonedDateTime, ChronoZonedDateTime) -> booleanWhether this instant is before other's.