Uses of Interface
javax.time.calendar.CalendricalMatcher
-
Packages that use CalendricalMatcher Package Description javax.time.calendar Provides classes to manage the human time scale including date, time, date-time and time-zone representations. -
-
Uses of CalendricalMatcher in javax.time.calendar
Classes in javax.time.calendar that implement CalendricalMatcher Modifier and Type Class Description class
DateTimeFields
A set of date-time fields.class
LocalDate
A date without a time-zone in the ISO-8601 calendar system, such as2007-12-03
.class
LocalDateTime
A date-time without a time-zone in the ISO-8601 calendar system, such as2007-12-03T10:15:30
.class
LocalTime
A time without time-zone in the ISO-8601 calendar system, such as10:15:30
.class
MonthDay
A month-day in the ISO-8601 calendar system, such as--12-03
.class
OffsetDate
A date with a zone offset from UTC in the ISO-8601 calendar system, such as2007-12-03+01:00
.class
OffsetDateTime
A date-time with a zone offset from UTC in the ISO-8601 calendar system, such as2007-12-03T10:15:30+01:00
.class
OffsetTime
A time with a zone offset from UTC in the ISO-8601 calendar system, such as10:15:30+01:00
.class
Year
A year in the ISO-8601 calendar system, such as2007
.class
YearMonth
A year-month in the ISO-8601 calendar system, such as2007-12
.class
ZonedDateTime
A date-time with a time-zone in the ISO-8601 calendar system, such as2007-12-03T10:15:30+01:00 Europe/Paris
.Methods in javax.time.calendar that return CalendricalMatcher Modifier and Type Method Description static CalendricalMatcher
CalendricalMatchers. dayOfWeekInMonth(int ordinal, DayOfWeek dayOfWeek)
Returns the day-of-week in month matcher, which returns true if the date is the ordinal occurrence of the day-of-week in the month.static CalendricalMatcher
CalendricalMatchers. firstInMonth(DayOfWeek dayOfWeek)
Returns the first in month matcher, which returns true if the date is the first occurrence of day-of-week in the month.static CalendricalMatcher
CalendricalMatchers. lastDayOfMonth()
Returns the last day-of-month matcher, which returns true if the date is the last valid day of the month.static CalendricalMatcher
CalendricalMatchers. lastDayOfYear()
Returns the last day-of-year matcher, which returns true if the date is the last valid day of the year.static CalendricalMatcher
CalendricalMatchers. leapDay()
Returns the leap day matcher, which returns true if the date is February 29th in a leap year.static CalendricalMatcher
CalendricalMatchers. leapYear()
Returns the leap year matcher, which returns true if the date is in a leap year.static CalendricalMatcher
CalendricalMatchers. nonWeekendDay()
Returns the non weekend day matcher, which returns true if the date is between Monday and Friday inclusive.static CalendricalMatcher
CalendricalMatchers. weekendDay()
Returns the weekend day matcher, which returns true if the date is Saturday or Sunday.Methods in javax.time.calendar with parameters of type CalendricalMatcher Modifier and Type Method Description boolean
LocalDate. matches(CalendricalMatcher matcher)
Checks whether thisLocalDate
matches the specified matcher.boolean
LocalDateTime. matches(CalendricalMatcher matcher)
Checks whether thisLocalDateTime
matches the specified matcher.boolean
LocalTime. matches(CalendricalMatcher matcher)
Checks whether thisLocalTime
matches the specified matcher.boolean
OffsetDate. matches(CalendricalMatcher matcher)
Checks whether thisOffsetDate
matches the specified matcher.boolean
OffsetDateTime. matches(CalendricalMatcher matcher)
Checks whether thisOffsetDateTime
matches the specified matcher.boolean
OffsetTime. matches(CalendricalMatcher matcher)
Checks whether thisOffsetTime
matches the specified matcher.boolean
ZonedDateTime. matches(CalendricalMatcher matcher)
Checks whether thisZonedDateTime
matches the specified matcher.
-