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 Details

    • toLocalDate

      D toLocalDate()
      The date.
    • toLocalTime

      LocalTime toLocalTime()
      The time of day.
    • toEpochSecond

      default long toEpochSecond(ZoneOffset offset)
      The seconds since 1970-01-01T00:00Z of this date and time at offset.
    • toInstant

      default Instant toInstant(ZoneOffset offset)
      The moment this date and time is at offset.
    • isAfter

      default boolean isAfter(ChronoLocalDateTime<?> other)
      Whether this comes after other on the local time line.
    • isBefore

      default boolean isBefore(ChronoLocalDateTime<?> other)
      Whether this comes before other on the local time line.
    • isEqual

      default boolean isEqual(ChronoLocalDateTime<?> other)
      Whether this is the same date and time as other.