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 private static classCalendricalMatchers.DayOfWeekInMonthClass implementing day-of-week in month matcher.private static classCalendricalMatchers.ImplEnum implementing the adjusters.classDateTimeFieldsA set of date-time fields.classLocalDateA date without a time-zone in the ISO-8601 calendar system, such as2007-12-03.classLocalDateTimeA date-time without a time-zone in the ISO-8601 calendar system, such as2007-12-03T10:15:30.classLocalTimeA time without time-zone in the ISO-8601 calendar system, such as10:15:30.classMonthDayA month-day in the ISO-8601 calendar system, such as--12-03.classOffsetDateA date with a zone offset from UTC in the ISO-8601 calendar system, such as2007-12-03+01:00.classOffsetDateTimeA date-time with a zone offset from UTC in the ISO-8601 calendar system, such as2007-12-03T10:15:30+01:00.classOffsetTimeA time with a zone offset from UTC in the ISO-8601 calendar system, such as10:15:30+01:00.classYearA year in the ISO-8601 calendar system, such as2007.classYearMonthA year-month in the ISO-8601 calendar system, such as2007-12.classZonedDateTimeA 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 CalendricalMatcherCalendricalMatchers. 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 CalendricalMatcherCalendricalMatchers. 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 CalendricalMatcherCalendricalMatchers. lastDayOfMonth()Returns the last day-of-month matcher, which returns true if the date is the last valid day of the month.static CalendricalMatcherCalendricalMatchers. lastDayOfYear()Returns the last day-of-year matcher, which returns true if the date is the last valid day of the year.static CalendricalMatcherCalendricalMatchers. leapDay()Returns the leap day matcher, which returns true if the date is February 29th in a leap year.static CalendricalMatcherCalendricalMatchers. leapYear()Returns the leap year matcher, which returns true if the date is in a leap year.static CalendricalMatcherCalendricalMatchers. nonWeekendDay()Returns the non weekend day matcher, which returns true if the date is between Monday and Friday inclusive.static CalendricalMatcherCalendricalMatchers. 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 booleanLocalDate. matches(CalendricalMatcher matcher)Checks whether thisLocalDatematches the specified matcher.booleanLocalDateTime. matches(CalendricalMatcher matcher)Checks whether thisLocalDateTimematches the specified matcher.booleanLocalTime. matches(CalendricalMatcher matcher)Checks whether thisLocalTimematches the specified matcher.booleanOffsetDate. matches(CalendricalMatcher matcher)Checks whether thisOffsetDatematches the specified matcher.booleanOffsetDateTime. matches(CalendricalMatcher matcher)Checks whether thisOffsetDateTimematches the specified matcher.booleanOffsetTime. matches(CalendricalMatcher matcher)Checks whether thisOffsetTimematches the specified matcher.booleanZonedDateTime. matches(CalendricalMatcher matcher)Checks whether thisZonedDateTimematches the specified matcher.
-