Uses of Interface
javax.time.calendar.CalendricalMatcher
Packages that use CalendricalMatcher
Package
Description
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 CalendricalMatcherModifier and TypeClassDescriptionprivate static final class
Class implementing day-of-week in month matcher.private static enum
Enum implementing the adjusters.final class
A set of date-time fields.final class
A date without a time-zone in the ISO-8601 calendar system, such as2007-12-03
.final class
A date-time without a time-zone in the ISO-8601 calendar system, such as2007-12-03T10:15:30
.final class
A time without time-zone in the ISO-8601 calendar system, such as10:15:30
.final class
A month-day in the ISO-8601 calendar system, such as--12-03
.final class
A date with a zone offset from UTC in the ISO-8601 calendar system, such as2007-12-03+01:00
.final class
A date-time with a zone offset from UTC in the ISO-8601 calendar system, such as2007-12-03T10:15:30+01:00
.final class
A time with a zone offset from UTC in the ISO-8601 calendar system, such as10:15:30+01:00
.final class
A year in the ISO-8601 calendar system, such as2007
.final class
A year-month in the ISO-8601 calendar system, such as2007-12
.final class
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 CalendricalMatcherModifier and TypeMethodDescriptionstatic 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 CalendricalMatcherModifier and TypeMethodDescriptionboolean
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.