Interface ChronoLocalDateTime<D extends ChronoLocalDate>
- All Superinterfaces:
Comparable<ChronoLocalDateTime<?>>, Temporal, TemporalAccessor
- All Known Implementing Classes:
LocalDateTime
public interface ChronoLocalDateTime<D extends ChronoLocalDate>
extends Temporal, Comparable<ChronoLocalDateTime<?>>
A date and a time of day of a calendar, with no zone.
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanisAfter(ChronoLocalDateTime<?> other) Whether this comes afterotheron the local time line.default booleanisBefore(ChronoLocalDateTime<?> other) Whether this comes beforeotheron the local time line.default booleanisEqual(ChronoLocalDateTime<?> other) Whether this is the same date and time asother.default longtoEpochSecond(ZoneOffset offset) The seconds since 1970-01-01T00:00Z of this date and time atoffset.default InstanttoInstant(ZoneOffset offset) The moment this date and time is atoffset.The date.The time of day.Methods inherited from interface Comparable
compareTo
-
Method Details
-
toLocalDate
D toLocalDate()The date. -
toLocalTime
LocalTime toLocalTime()The time of day. -
toEpochSecond
The seconds since 1970-01-01T00:00Z of this date and time atoffset. -
toInstant
The moment this date and time is atoffset. -
isAfter
Whether this comes afterotheron the local time line. -
isBefore
Whether this comes beforeotheron the local time line. -
isEqual
Whether this is the same date and time asother.
-