Interface ChronoLocalDate
- All Superinterfaces:
Comparable<ChronoLocalDate>, Temporal, TemporalAccessor
- All Known Implementing Classes:
LocalDate
A date of a calendar. The ISO calendar's
LocalDate is the one there is.-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanisAfter(ChronoLocalDate other) Whether this date comes afterother.default booleanisBefore(ChronoLocalDate other) Whether this date comes beforeother.default booleanisEqual(ChronoLocalDate other) Whether this date is the same day asother.booleanWhether the year of this date is a leap year.intThe days in the month of this date.default intThe days in the year of this date.longThe days since 1970-01-01.Methods inherited from interface Comparable
compareTo
-
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
Whether this date comes afterother. -
isBefore
Whether this date comes beforeother. -
isEqual
Whether this date is the same day asother.
-