Interface ChronoLocalDate

All Superinterfaces:
Comparable<ChronoLocalDate>, Temporal, TemporalAccessor
All Known Implementing Classes:
LocalDate

public interface ChronoLocalDate extends Temporal, Comparable<ChronoLocalDate>
A date of a calendar. The ISO calendar's LocalDate is the one there is.
  • Method Details

    • toEpochDay

      long toEpochDay()
      The days since 1970-01-01.
    • isLeapYear

      boolean isLeapYear()
      Whether the year of this date is a leap year.
    • lengthOfMonth

      int lengthOfMonth()
      The days in the month of this date.
    • lengthOfYear

      default int lengthOfYear()
      The days in the year of this date.
    • isAfter

      default boolean isAfter(ChronoLocalDate other)
      Whether this date comes after other.
    • isBefore

      default boolean isBefore(ChronoLocalDate other)
      Whether this date comes before other.
    • isEqual

      default boolean isEqual(ChronoLocalDate other)
      Whether this date is the same day as other.