| Package | Description |
|---|---|
| org.exparity.hamcrest.date |
Matchers of Dates
|
| org.exparity.hamcrest.date.core |
| Modifier and Type | Method and Description |
|---|---|
static TemporalMatcher<Date> |
SqlDateMatchers.after(Date date)
Creates a matcher that matches when the examined date is after the reference date
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.after(Date date)
Creates a matcher that matches when the examined date is after the reference date
For example:
|
static TemporalMatcher<Date> |
DateMatchers.after(Date date)
Creates a matcher that matches when the examined date is after the reference date
For example:
|
static TemporalMatcher<Date> |
DateMatchers.after(Date date)
Creates a matcher that matches when the examined date is after the reference date
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.after(DayMonthYear date)
Deprecated.
|
static TemporalMatcher<Date> |
DateMatchers.after(DayMonthYear date)
Deprecated.
|
static TemporalMatcher<Instant> |
InstantMatchers.after(Instant date)
Creates a matcher that matches when the examined date is after the reference date
For example:
|
static TemporalMatcher<Date> |
DateMatchers.after(Instant date)
Creates a matcher that matches when the examined date is after the reference date
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.after(int year,
Month month,
int day)
Creates a matcher that matches when the examined date is after the end of the reference year
For example:
|
static TemporalMatcher<LocalDate> |
LocalDateMatchers.after(int year,
Month month,
int dayOfMonth)
Creates a matcher that matches when the examined date is after the end of the reference year
For example:
|
static TemporalMatcher<Date> |
DateMatchers.after(int year,
Month month,
int day)
Creates a matcher that matches when the examined date is after the end of the reference year
For example:
|
static TemporalMatcher<LocalDateTime> |
LocalDateTimeMatchers.after(int year,
Month month,
int dayOfMonth,
int hour,
int minute,
int second)
Creates a matcher that matches when the examined date is after the end of the reference year
For example:
|
static TemporalMatcher<Date> |
DateMatchers.after(int year,
Month month,
int dayOfMonth,
int hour,
int minute,
int second)
Creates a matcher that matches when the examined date is after the end of the reference year
For example:
|
static TemporalMatcher<ZonedDateTime> |
ZonedDateTimeMatchers.after(int year,
Month month,
int dayOfMonth,
int hour,
int minute,
int second,
int nanos,
ZoneId tz)
Creates a matcher that matches when the examined date is after the end of the reference year
For example:
|
static TemporalMatcher<Instant> |
InstantMatchers.after(int year,
Month month,
int dayOfMonth,
int hour,
int minute,
int second,
int nanos,
ZoneId tz)
Creates a matcher that matches when the examined date is after the end of the reference year
For example:
|
static TemporalMatcher<OffsetDateTime> |
OffsetDateTimeMatchers.after(int year,
Month month,
int dayOfMonth,
int hour,
int minute,
int second,
int nanos,
ZoneOffset tz)
Creates a matcher that matches when the examined date is after the end of the reference year
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.after(int year,
Months month,
int day)
Deprecated.
|
static TemporalMatcher<Date> |
DateMatchers.after(int year,
Months month,
int day)
Deprecated.
|
static TemporalMatcher<Date> |
DateMatchers.after(int year,
Months month,
int dayOfMonth,
int hour,
int minute,
int second)
Deprecated.
|
static TemporalMatcher<Date> |
SqlDateMatchers.after(LocalDate date)
Creates a matcher that matches when the examined date is after the reference date
For example:
|
static TemporalMatcher<LocalDate> |
LocalDateMatchers.after(LocalDate date)
Creates a matcher that matches when the examined date is after the reference date
For example:
|
static TemporalMatcher<Date> |
DateMatchers.after(LocalDate date)
Creates a matcher that matches when the examined date is after the reference date
For example:
|
static TemporalMatcher<LocalDateTime> |
LocalDateTimeMatchers.after(LocalDateTime date)
Creates a matcher that matches when the examined date is after the reference date
For example:
|
static TemporalMatcher<Date> |
DateMatchers.after(LocalDateTime date)
Creates a matcher that matches when the examined date is after the reference date
For example:
|
static TemporalMatcher<OffsetDateTime> |
OffsetDateTimeMatchers.after(OffsetDateTime date)
Creates a matcher that matches when the examined date is after the reference date
For example:
|
static TemporalMatcher<ZonedDateTime> |
ZonedDateTimeMatchers.after(ZonedDateTime date)
Creates a matcher that matches when the examined date is after the reference date
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.before(Date date)
Creates a matcher that matches when the examined date is before the reference date
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.before(Date date)
Creates a matcher that matches when the examined date is before the reference date
For example:
|
static TemporalMatcher<Date> |
DateMatchers.before(Date date)
Creates a matcher that matches when the examined date is before the reference date
For example:
|
static TemporalMatcher<Date> |
DateMatchers.before(Date date)
Creates a matcher that matches when the examined date is before the reference date
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.before(DayMonthYear date)
Deprecated.
|
static TemporalMatcher<Date> |
DateMatchers.before(DayMonthYear date)
Deprecated.
|
static TemporalMatcher<Instant> |
InstantMatchers.before(Instant date)
Creates a matcher that matches when the examined date is before the reference date
For example:
|
static TemporalMatcher<Date> |
DateMatchers.before(Instant date)
Creates a matcher that matches when the examined date is before the reference date
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.before(int year,
Month month,
int day)
Creates a matcher that matches when the examined date is before the end of the reference year
For example:
|
static TemporalMatcher<LocalDate> |
LocalDateMatchers.before(int year,
Month month,
int dayOfMonth)
Creates a matcher that matches when the examined date is before the end of the reference year
For example:
|
static TemporalMatcher<Date> |
DateMatchers.before(int year,
Month month,
int day)
Creates a matcher that matches when the examined date is before the end of the reference year
For example:
|
static TemporalMatcher<LocalDateTime> |
LocalDateTimeMatchers.before(int year,
Month month,
int dayOfMonth,
int hour,
int minute,
int second)
Creates a matcher that matches when the examined date is before the end of the reference year
For example:
|
static TemporalMatcher<Date> |
DateMatchers.before(int year,
Month month,
int dayOfMonth,
int hour,
int minute,
int second)
Creates a matcher that matches when the examined date is before the end of the reference year
For example:
|
static TemporalMatcher<ZonedDateTime> |
ZonedDateTimeMatchers.before(int year,
Month month,
int dayOfMonth,
int hour,
int minute,
int second,
int nanos,
ZoneId tz)
Creates a matcher that matches when the examined date is before the end of the reference year
For example:
|
static TemporalMatcher<Instant> |
InstantMatchers.before(int year,
Month month,
int dayOfMonth,
int hour,
int minute,
int second,
int nanos,
ZoneId tz)
Creates a matcher that matches when the examined date is before the end of the reference year
For example:
|
static TemporalMatcher<OffsetDateTime> |
OffsetDateTimeMatchers.before(int year,
Month month,
int dayOfMonth,
int hour,
int minute,
int second,
int nanos,
ZoneOffset tz)
Creates a matcher that matches when the examined date is before the end of the reference year
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.before(int year,
Months month,
int day)
Deprecated.
|
static TemporalMatcher<Date> |
DateMatchers.before(int year,
Months month,
int day)
Deprecated.
|
static TemporalMatcher<Date> |
DateMatchers.before(int year,
Months month,
int dayOfMonth,
int hour,
int minute,
int second)
Deprecated.
|
static TemporalMatcher<Date> |
SqlDateMatchers.before(LocalDate date)
Creates a matcher that matches when the examined date is before the reference date
For example:
|
static TemporalMatcher<LocalDate> |
LocalDateMatchers.before(LocalDate date)
Creates a matcher that matches when the examined date is before the reference date
For example:
|
static TemporalMatcher<Date> |
DateMatchers.before(LocalDate date)
Creates a matcher that matches when the examined date is before the reference date
For example:
|
static TemporalMatcher<LocalDateTime> |
LocalDateTimeMatchers.before(LocalDateTime date)
Creates a matcher that matches when the examined date is before the reference date
For example:
|
static TemporalMatcher<Date> |
DateMatchers.before(LocalDateTime date)
Creates a matcher that matches when the examined date is before the reference date
For example:
|
static TemporalMatcher<OffsetDateTime> |
OffsetDateTimeMatchers.before(OffsetDateTime date)
Creates a matcher that matches when the examined date is before the reference date
For example:
|
static TemporalMatcher<ZonedDateTime> |
ZonedDateTimeMatchers.before(ZonedDateTime date)
Creates a matcher that matches when the examined date is before the reference date
For example:
|
static TemporalMatcher<ZonedDateTime> |
ZonedDateTimeMatchers.isApril()
Creates a matcher that matches when the examined date is in April
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.isApril()
Creates a matcher that matches when the examined date is in April
For example:
|
static TemporalMatcher<OffsetDateTime> |
OffsetDateTimeMatchers.isApril()
Creates a matcher that matches when the examined date is in April
For example:
|
static TemporalMatcher<LocalDateTime> |
LocalDateTimeMatchers.isApril()
Creates a matcher that matches when the examined date is in April
For example:
|
static TemporalMatcher<LocalDate> |
LocalDateMatchers.isApril()
Creates a matcher that matches when the examined date is in April
For example:
|
static TemporalMatcher<Instant> |
InstantMatchers.isApril()
Creates a matcher that matches when the examined date is in April
For example:
|
static TemporalMatcher<Date> |
DateMatchers.isApril()
Creates a matcher that matches when the examined date is in April
For example:
|
static TemporalMatcher<ZonedDateTime> |
ZonedDateTimeMatchers.isAugust()
Creates a matcher that matches when the examined date is in August
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.isAugust()
Creates a matcher that matches when the examined date is in August
For example:
|
static TemporalMatcher<OffsetDateTime> |
OffsetDateTimeMatchers.isAugust()
Creates a matcher that matches when the examined date is in August
For example:
|
static TemporalMatcher<LocalDateTime> |
LocalDateTimeMatchers.isAugust()
Creates a matcher that matches when the examined date is in August
For example:
|
static TemporalMatcher<LocalDate> |
LocalDateMatchers.isAugust()
Creates a matcher that matches when the examined date is in August
For example:
|
static TemporalMatcher<Instant> |
InstantMatchers.isAugust()
Creates a matcher that matches when the examined date is in August
For example:
|
static TemporalMatcher<Date> |
DateMatchers.isAugust()
Creates a matcher that matches when the examined date is in August
For example:
|
static TemporalMatcher<ZonedDateTime> |
ZonedDateTimeMatchers.isDay(int year,
Month month,
int dayOfMonth)
Creates a matcher that matches when the examined date is on the same day of the year as the reference date
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.isDay(int year,
Month month,
int dayOfMonth)
Creates a matcher that matches when the examined date is on the same day of the year as the reference date
For example:
|
static TemporalMatcher<OffsetDateTime> |
OffsetDateTimeMatchers.isDay(int year,
Month month,
int dayOfMonth)
Creates a matcher that matches when the examined date is on the same day of the year as the reference date
For example:
|
static TemporalMatcher<LocalDateTime> |
LocalDateTimeMatchers.isDay(int year,
Month month,
int dayOfMonth)
Creates a matcher that matches when the examined date is on the same day of the year as the reference date
For example:
|
static TemporalMatcher<LocalDate> |
LocalDateMatchers.isDay(int year,
Month month,
int dayOfMonth)
Creates a matcher that matches when the examined date is on the same day of the year as the reference date
For example:
|
static TemporalMatcher<Instant> |
InstantMatchers.isDay(int year,
Month month,
int dayOfMonth)
Creates a matcher that matches when the examined date is on the same day of the year as the reference date
For example:
|
static TemporalMatcher<Date> |
DateMatchers.isDay(int year,
Month month,
int dayOfMonth)
Creates a matcher that matches when the examined date is on the same day of the year as the reference date
For example:
|
static TemporalMatcher<ZonedDateTime> |
ZonedDateTimeMatchers.isDay(int year,
Month month,
int dayOfMonth,
ZoneId zone)
Creates a matcher that matches when the examined date is on the same day of the year as the reference date
For example:
|
static TemporalMatcher<OffsetDateTime> |
OffsetDateTimeMatchers.isDay(int year,
Month month,
int dayOfMonth,
ZoneId zone)
Creates a matcher that matches when the examined date is on the same day of the year as the reference date
For example:
|
static TemporalMatcher<Instant> |
InstantMatchers.isDay(int year,
Month month,
int dayOfMonth,
ZoneId zone)
Creates a matcher that matches when the examined date is on the same day of the year as the reference date
For example:
|
static TemporalMatcher<ZonedDateTime> |
ZonedDateTimeMatchers.isDay(LocalDate date)
Creates a matcher that matches when the examined date is on the same day of the year as the reference date
For example:
|
static TemporalMatcher<OffsetDateTime> |
OffsetDateTimeMatchers.isDay(LocalDate date)
Creates a matcher that matches when the examined date is on the same day of the year as the reference date
For example:
|
static TemporalMatcher<LocalDateTime> |
LocalDateTimeMatchers.isDay(LocalDate date)
Creates a matcher that matches when the examined date is on the same day of the year as the reference date
For example:
|
static TemporalMatcher<Instant> |
InstantMatchers.isDay(LocalDate date)
Creates a matcher that matches when the examined date is on the same day of the year as the reference date
For example:
|
static TemporalMatcher<ZonedDateTime> |
ZonedDateTimeMatchers.isDayOfMonth(int dayOfMonth)
Creates a matcher that matches when the examined date is on the expected day of the month
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.isDayOfMonth(int dayOfMonth)
Creates a matcher that matches when the examined date is on the expected day of the month
For example:
|
static TemporalMatcher<OffsetDateTime> |
OffsetDateTimeMatchers.isDayOfMonth(int dayOfMonth)
Creates a matcher that matches when the examined date is on the expected day of the month
For example:
|
static TemporalMatcher<LocalDateTime> |
LocalDateTimeMatchers.isDayOfMonth(int dayOfMonth)
Creates a matcher that matches when the examined date is on the expected day of the month
For example:
|
static TemporalMatcher<LocalDate> |
LocalDateMatchers.isDayOfMonth(int dayOfMonth)
Creates a matcher that matches when the examined date is on the expected day of the month
For example:
|
static TemporalMatcher<Instant> |
InstantMatchers.isDayOfMonth(int dayOfMonth)
Creates a matcher that matches when the examined date is on the expected day of the month
For example:
|
static TemporalMatcher<Date> |
DateMatchers.isDayOfMonth(int dayOfMonth)
Creates a matcher that matches when the examined date is on the expected day of the month
For example:
|
static TemporalMatcher<ZonedDateTime> |
ZonedDateTimeMatchers.isDayOfWeek(DayOfWeek... daysOfWeek)
Creates a matcher that matches when the examined date is on the same day of the week as any of the supplied days
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.isDayOfWeek(DayOfWeek... daysOfWeek)
Creates a matcher that matches when the examined date is on the same day of the week as any of the supplied days
For example:
|
static TemporalMatcher<OffsetDateTime> |
OffsetDateTimeMatchers.isDayOfWeek(DayOfWeek... daysOfWeek)
Creates a matcher that matches when the examined date is on the same day of the week as any of the supplied days
For example:
|
static TemporalMatcher<LocalDateTime> |
LocalDateTimeMatchers.isDayOfWeek(DayOfWeek... daysOfWeek)
Creates a matcher that matches when the examined date is on a monday
For example:
|
static TemporalMatcher<LocalDate> |
LocalDateMatchers.isDayOfWeek(DayOfWeek... daysOfWeek)
Creates a matcher that matches when the examined date is on a monday
For example:
|
static TemporalMatcher<Instant> |
InstantMatchers.isDayOfWeek(DayOfWeek... daysOfWeek)
Creates a matcher that matches when the examined date is on the same day of the week as any of the supplied days
For example:
|
static TemporalMatcher<Date> |
DateMatchers.isDayOfWeek(DayOfWeek... daysOfWeek)
Creates a matcher that matches when the examined date is on the same day of the week as any of the supplied days
For example:
|
static TemporalMatcher<ZonedDateTime> |
ZonedDateTimeMatchers.isDayOfWeek(DayOfWeek dayOfWeek)
Creates a matcher that matches when the examined date is on the same day of the week as the supplied day
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.isDayOfWeek(DayOfWeek dayOfWeek)
Creates a matcher that matches when the examined date is on the same day of the week as the supplied day
For example:
|
static TemporalMatcher<OffsetDateTime> |
OffsetDateTimeMatchers.isDayOfWeek(DayOfWeek dayOfWeek)
Creates a matcher that matches when the examined date is on the same day of the week as the supplied day
For example:
|
static TemporalMatcher<LocalDateTime> |
LocalDateTimeMatchers.isDayOfWeek(DayOfWeek dayOfWeek)
Creates a matcher that matches when the examined date is on a monday
For example:
|
static TemporalMatcher<LocalDate> |
LocalDateMatchers.isDayOfWeek(DayOfWeek dayOfWeek)
Creates a matcher that matches when the examined date is on a monday
For example:
|
static TemporalMatcher<Instant> |
InstantMatchers.isDayOfWeek(DayOfWeek dayOfWeek)
Creates a matcher that matches when the examined date is on the same day of the week as the supplied day
For example:
|
static TemporalMatcher<Date> |
DateMatchers.isDayOfWeek(DayOfWeek dayOfWeek)
Creates a matcher that matches when the examined date is on the same day of the week as the supplied day
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.isDayOfWeek(Weekdays dayOfWeek)
Deprecated.
|
static TemporalMatcher<Date> |
DateMatchers.isDayOfWeek(Weekdays dayOfWeek)
Deprecated.
|
static TemporalMatcher<ZonedDateTime> |
ZonedDateTimeMatchers.isDecember()
Creates a matcher that matches when the examined date is in December
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.isDecember()
Creates a matcher that matches when the examined date is in December
For example:
|
static TemporalMatcher<OffsetDateTime> |
OffsetDateTimeMatchers.isDecember()
Creates a matcher that matches when the examined date is in December
For example:
|
static TemporalMatcher<LocalDateTime> |
LocalDateTimeMatchers.isDecember()
Creates a matcher that matches when the examined date is in December
For example:
|
static TemporalMatcher<LocalDate> |
LocalDateMatchers.isDecember()
Creates a matcher that matches when the examined date is in December
For example:
|
static TemporalMatcher<Instant> |
InstantMatchers.isDecember()
Creates a matcher that matches when the examined date is in December
For example:
|
static TemporalMatcher<Date> |
DateMatchers.isDecember()
Creates a matcher that matches when the examined date is in December
For example:
|
static TemporalMatcher<ZonedDateTime> |
ZonedDateTimeMatchers.isFebruary()
Creates a matcher that matches when the examined date is in February
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.isFebruary()
Creates a matcher that matches when the examined date is in February
For example:
|
static TemporalMatcher<OffsetDateTime> |
OffsetDateTimeMatchers.isFebruary()
Creates a matcher that matches when the examined date is in February
For example:
|
static TemporalMatcher<LocalDateTime> |
LocalDateTimeMatchers.isFebruary()
Creates a matcher that matches when the examined date is in February
For example:
|
static TemporalMatcher<LocalDate> |
LocalDateMatchers.isFebruary()
Creates a matcher that matches when the examined date is in February
For example:
|
static TemporalMatcher<Instant> |
InstantMatchers.isFebruary()
Creates a matcher that matches when the examined date is in February
For example:
|
static TemporalMatcher<Date> |
DateMatchers.isFebruary()
Creates a matcher that matches when the examined date is in February
For example:
|
static TemporalMatcher<ZonedDateTime> |
ZonedDateTimeMatchers.isFirstDayOfMonth()
Creates a matcher that matches when the examined date is on the first day of the month
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.isFirstDayOfMonth()
Creates a matcher that matches when the examined date is on the first day of the month
For example:
|
static TemporalMatcher<OffsetDateTime> |
OffsetDateTimeMatchers.isFirstDayOfMonth()
Creates a matcher that matches when the examined date is on the first day of the month
For example:
|
static TemporalMatcher<LocalDateTime> |
LocalDateTimeMatchers.isFirstDayOfMonth()
Creates a matcher that matches when the examined date is on the first day of the month
For example:
|
static TemporalMatcher<LocalDate> |
LocalDateMatchers.isFirstDayOfMonth()
Creates a matcher that matches when the examined date is on the first day of the month
For example:
|
static TemporalMatcher<Instant> |
InstantMatchers.isFirstDayOfMonth()
Creates a matcher that matches when the examined date is on the first day of the month
For example:
|
static TemporalMatcher<Date> |
DateMatchers.isFirstDayOfMonth()
Creates a matcher that matches when the examined date is on the first day of the month
For example:
|
static TemporalMatcher<ZonedDateTime> |
ZonedDateTimeMatchers.isFriday()
Creates a matcher that matches when the examined date is on a friday
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.isFriday()
Creates a matcher that matches when the examined date is on a friday
For example:
|
static TemporalMatcher<OffsetDateTime> |
OffsetDateTimeMatchers.isFriday()
Creates a matcher that matches when the examined date is on a friday
For example:
|
static TemporalMatcher<LocalDateTime> |
LocalDateTimeMatchers.isFriday()
Creates a matcher that matches when the examined date is on a friday
For example:
|
static TemporalMatcher<LocalDate> |
LocalDateMatchers.isFriday()
Creates a matcher that matches when the examined date is on a friday
For example:
|
static TemporalMatcher<Instant> |
InstantMatchers.isFriday()
Creates a matcher that matches when the examined date is on a friday
For example:
|
static TemporalMatcher<Date> |
DateMatchers.isFriday()
Creates a matcher that matches when the examined date is on a friday
For example:
|
static TemporalMatcher<ZonedDateTime> |
ZonedDateTimeMatchers.isHour(int hour)
Creates a matcher that matches when the examined date is on the expected hour (0-23)
For example:
|
static TemporalMatcher<OffsetDateTime> |
OffsetDateTimeMatchers.isHour(int hour)
Creates a matcher that matches when the examined date is on the expected hour (0-23)
For example:
|
static TemporalMatcher<LocalDateTime> |
LocalDateTimeMatchers.isHour(int hour)
Creates a matcher that matches when the examined date is on the expected hour (0-23)
For example:
|
static TemporalMatcher<Instant> |
InstantMatchers.isHour(int hour)
Creates a matcher that matches when the examined date is on the expected hour (0-23)
For example:
|
static TemporalMatcher<Date> |
DateMatchers.isHour(int hour)
Creates a matcher that matches when the examined date is on the same hour as the reference date
For example:
|
static TemporalMatcher<LocalDateTime> |
LocalDateTimeMatchers.isInstant(int year,
Month month,
int dayOfMonth,
int hour,
int minute,
int second,
int nanos)
Creates a matcher that matches when the examined date is at the same specified instance down to the second
For example:
|
static TemporalMatcher<Date> |
DateMatchers.isInstant(int year,
Month month,
int dayOfMonth,
int hour,
int minute,
int second,
int milliseconds)
Creates a matcher that matches when the examined date is on the same instance as the reference date
For example:
|
static TemporalMatcher<ZonedDateTime> |
ZonedDateTimeMatchers.isInstant(int year,
Month month,
int dayOfMonth,
int hour,
int minute,
int second,
int nanos,
ZoneId tz)
Creates a matcher that matches when the examined date is at the same specified instance down to the second
For example:
|
static TemporalMatcher<Instant> |
InstantMatchers.isInstant(int year,
Month month,
int dayOfMonth,
int hour,
int minute,
int second,
int nanos,
ZoneId tz)
Creates a matcher that matches when the examined date is at the same specified instance down to the second
For example:
|
static TemporalMatcher<OffsetDateTime> |
OffsetDateTimeMatchers.isInstant(int year,
Month month,
int dayOfMonth,
int hour,
int minute,
int second,
int nanos,
ZoneOffset tz)
Creates a matcher that matches when the examined date is at the same specified instance down to the second
For example:
|
static TemporalMatcher<ZonedDateTime> |
ZonedDateTimeMatchers.isJanuary()
Creates a matcher that matches when the examined date is in January
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.isJanuary()
Creates a matcher that matches when the examined date is in January
For example:
|
static TemporalMatcher<OffsetDateTime> |
OffsetDateTimeMatchers.isJanuary()
Creates a matcher that matches when the examined date is in January
For example:
|
static TemporalMatcher<LocalDateTime> |
LocalDateTimeMatchers.isJanuary()
Creates a matcher that matches when the examined date is in January
For example:
|
static TemporalMatcher<LocalDate> |
LocalDateMatchers.isJanuary()
Creates a matcher that matches when the examined date is in January
For example:
|
static TemporalMatcher<Instant> |
InstantMatchers.isJanuary()
Creates a matcher that matches when the examined date is in January
For example:
|
static TemporalMatcher<Date> |
DateMatchers.isJanuary()
Creates a matcher that matches when the examined date is in January
For example:
|
static TemporalMatcher<ZonedDateTime> |
ZonedDateTimeMatchers.isJuly()
Creates a matcher that matches when the examined date is in July
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.isJuly()
Creates a matcher that matches when the examined date is in July
For example:
|
static TemporalMatcher<OffsetDateTime> |
OffsetDateTimeMatchers.isJuly()
Creates a matcher that matches when the examined date is in July
For example:
|
static TemporalMatcher<LocalDateTime> |
LocalDateTimeMatchers.isJuly()
Creates a matcher that matches when the examined date is in July
For example:
|
static TemporalMatcher<LocalDate> |
LocalDateMatchers.isJuly()
Creates a matcher that matches when the examined date is in July
For example:
|
static TemporalMatcher<Instant> |
InstantMatchers.isJuly()
Creates a matcher that matches when the examined date is in July
For example:
|
static TemporalMatcher<Date> |
DateMatchers.isJuly()
Creates a matcher that matches when the examined date is in July
For example:
|
static TemporalMatcher<ZonedDateTime> |
ZonedDateTimeMatchers.isJune()
Creates a matcher that matches when the examined date is in June
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.isJune()
Creates a matcher that matches when the examined date is in June
For example:
|
static TemporalMatcher<OffsetDateTime> |
OffsetDateTimeMatchers.isJune()
Creates a matcher that matches when the examined date is in June
For example:
|
static TemporalMatcher<LocalDateTime> |
LocalDateTimeMatchers.isJune()
Creates a matcher that matches when the examined date is in June
For example:
|
static TemporalMatcher<LocalDate> |
LocalDateMatchers.isJune()
Creates a matcher that matches when the examined date is in June
For example:
|
static TemporalMatcher<Instant> |
InstantMatchers.isJune()
Creates a matcher that matches when the examined date is in June
For example:
|
static TemporalMatcher<Date> |
DateMatchers.isJune()
Creates a matcher that matches when the examined date is in June
For example:
|
static TemporalMatcher<ZonedDateTime> |
ZonedDateTimeMatchers.isLastDayOfMonth()
Creates a matcher that matches when the examined date is on the first day of the month
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.isLastDayOfMonth()
Creates a matcher that matches when the examined date is on the first day of the month
For example:
|
static TemporalMatcher<OffsetDateTime> |
OffsetDateTimeMatchers.isLastDayOfMonth()
Creates a matcher that matches when the examined date is on the first day of the month
For example:
|
static TemporalMatcher<LocalDateTime> |
LocalDateTimeMatchers.isLastDayOfMonth()
Creates a matcher that matches when the examined date is on the first day of the month
For example:
|
static TemporalMatcher<LocalDate> |
LocalDateMatchers.isLastDayOfMonth()
Creates a matcher that matches when the examined date is on the first day of the month
For example:
|
static TemporalMatcher<Instant> |
InstantMatchers.isLastDayOfMonth()
Creates a matcher that matches when the examined date is on the first day of the month
For example:
|
static TemporalMatcher<Date> |
DateMatchers.isLastDayOfMonth()
Creates a matcher that matches when the examined date is on the first day of the month
For example:
|
static TemporalMatcher<ZonedDateTime> |
ZonedDateTimeMatchers.isLeapYear()
Creates a matcher that matches when the examined date is a leap year
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.isLeapYear()
Creates a matcher that matches when the examined date is a leap year
For example:
|
static TemporalMatcher<OffsetDateTime> |
OffsetDateTimeMatchers.isLeapYear()
Creates a matcher that matches when the examined date is a leap year
For example:
|
static TemporalMatcher<LocalDateTime> |
LocalDateTimeMatchers.isLeapYear()
Creates a matcher that matches when the examined date is a leap year
For example:
|
static TemporalMatcher<LocalDate> |
LocalDateMatchers.isLeapYear()
Creates a matcher that matches when the examined date is a leap year
For example:
|
static TemporalMatcher<Instant> |
InstantMatchers.isLeapYear()
Creates a matcher that matches when the examined date is a leap year
For example:
|
static TemporalMatcher<Date> |
DateMatchers.isLeapYear()
Creates a matcher that matches when the examined date is a leap year
For example:
|
static TemporalMatcher<ZonedDateTime> |
ZonedDateTimeMatchers.isMarch()
Creates a matcher that matches when the examined date is in March
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.isMarch()
Creates a matcher that matches when the examined date is in March
For example:
|
static TemporalMatcher<OffsetDateTime> |
OffsetDateTimeMatchers.isMarch()
Creates a matcher that matches when the examined date is in March
For example:
|
static TemporalMatcher<LocalDateTime> |
LocalDateTimeMatchers.isMarch()
Creates a matcher that matches when the examined date is in March
For example:
|
static TemporalMatcher<LocalDate> |
LocalDateMatchers.isMarch()
Creates a matcher that matches when the examined date is in March
For example:
|
static TemporalMatcher<Instant> |
InstantMatchers.isMarch()
Creates a matcher that matches when the examined date is in March
For example:
|
static TemporalMatcher<Date> |
DateMatchers.isMarch()
Creates a matcher that matches when the examined date is in March
For example:
|
static TemporalMatcher<ZonedDateTime> |
ZonedDateTimeMatchers.isMaximum(ChronoField field)
Creates a matcher that matches when the examined date is on the maximum value of the given date part in its
period
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.isMaximum(ChronoField field)
Creates a matcher that matches when the examined date is on the maximum value of the given date part in its
period
For example:
|
static TemporalMatcher<OffsetDateTime> |
OffsetDateTimeMatchers.isMaximum(ChronoField field)
Creates a matcher that matches when the examined date is on the maximum value of the given date part in its
period
For example:
|
static TemporalMatcher<LocalDateTime> |
LocalDateTimeMatchers.isMaximum(ChronoField field)
Creates a matcher that matches when the examined date is on the maximum value of the given date part in its
period
For example:
|
static TemporalMatcher<LocalDate> |
LocalDateMatchers.isMaximum(ChronoField field)
Creates a matcher that matches when the examined date is on the maximum value of the given date part in its
period
For example:
|
static TemporalMatcher<Instant> |
InstantMatchers.isMaximum(ChronoField field)
Creates a matcher that matches when the examined date is on the maximum value of the given date part in its
period
For example:
|
static TemporalMatcher<Date> |
DateMatchers.isMaximum(ChronoField field)
Creates a matcher that matches when the examined date is on the maximum value of the given date part in its
period
For example:
|
static TemporalMatcher<ZonedDateTime> |
ZonedDateTimeMatchers.isMay()
Creates a matcher that matches when the examined date is in May
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.isMay()
Creates a matcher that matches when the examined date is in May
For example:
|
static TemporalMatcher<OffsetDateTime> |
OffsetDateTimeMatchers.isMay()
Creates a matcher that matches when the examined date is in May
For example:
|
static TemporalMatcher<LocalDateTime> |
LocalDateTimeMatchers.isMay()
Creates a matcher that matches when the examined date is in May
For example:
|
static TemporalMatcher<LocalDate> |
LocalDateMatchers.isMay()
Creates a matcher that matches when the examined date is in May
For example:
|
static TemporalMatcher<Instant> |
InstantMatchers.isMay()
Creates a matcher that matches when the examined date is in May
For example:
|
static TemporalMatcher<Date> |
DateMatchers.isMay()
Creates a matcher that matches when the examined date is in May
For example:
|
static TemporalMatcher<Date> |
DateMatchers.isMillisecond(int millisecond)
Creates a matcher that matches when the examined date is on the reference second
For example:
|
static TemporalMatcher<ZonedDateTime> |
ZonedDateTimeMatchers.isMinimum(ChronoField field)
Creates a matcher that matches when the examined date is on the maximum value of the given date part in its
period
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.isMinimum(ChronoField field)
Creates a matcher that matches when the examined date is on the maximum value of the given date part in its
period
For example:
|
static TemporalMatcher<OffsetDateTime> |
OffsetDateTimeMatchers.isMinimum(ChronoField field)
Creates a matcher that matches when the examined date is on the maximum value of the given date part in its
period
For example:
|
static TemporalMatcher<LocalDateTime> |
LocalDateTimeMatchers.isMinimum(ChronoField field)
Creates a matcher that matches when the examined date is on the maximum value of the given date part in its
period
For example:
|
static TemporalMatcher<LocalDate> |
LocalDateMatchers.isMinimum(ChronoField field)
Creates a matcher that matches when the examined date is on the maximum value of the given date part in its
period
For example:
|
static TemporalMatcher<Instant> |
InstantMatchers.isMinimum(ChronoField field)
Creates a matcher that matches when the examined date is on the maximum value of the given date part in its
period
For example:
|
static TemporalMatcher<Date> |
DateMatchers.isMinimum(ChronoField field)
Creates a matcher that matches when the examined date is on the maximum value of the given date part in its
period
For example:
|
static TemporalMatcher<ZonedDateTime> |
ZonedDateTimeMatchers.isMinute(int minute)
Creates a matcher that matches when the examined date is on the expected minute (0-59)
For example:
|
static TemporalMatcher<OffsetDateTime> |
OffsetDateTimeMatchers.isMinute(int minute)
Creates a matcher that matches when the examined date is on the expected minute (0-59)
For example:
|
static TemporalMatcher<LocalDateTime> |
LocalDateTimeMatchers.isMinute(int minute)
Creates a matcher that matches when the examined date is on the expected minute (0-59)
For example:
|
static TemporalMatcher<Instant> |
InstantMatchers.isMinute(int minute)
Creates a matcher that matches when the examined date is on the expected minute (0-59)
For example:
|
static TemporalMatcher<Date> |
DateMatchers.isMinute(int minute)
Creates a matcher that matches when the examined date is on the reference minute
For example:
|
static TemporalMatcher<ZonedDateTime> |
ZonedDateTimeMatchers.isMonday()
Creates a matcher that matches when the examined date is on a monday
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.isMonday()
Creates a matcher that matches when the examined date is on a monday
For example:
|
static TemporalMatcher<OffsetDateTime> |
OffsetDateTimeMatchers.isMonday()
Creates a matcher that matches when the examined date is on a monday
For example:
|
static TemporalMatcher<LocalDateTime> |
LocalDateTimeMatchers.isMonday()
Creates a matcher that matches when the examined date is on a monday
For example:
|
static TemporalMatcher<LocalDate> |
LocalDateMatchers.isMonday()
Creates a matcher that matches when the examined date is on a monday
For example:
|
static TemporalMatcher<Instant> |
InstantMatchers.isMonday()
Creates a matcher that matches when the examined date is on a monday
For example:
|
static TemporalMatcher<Date> |
DateMatchers.isMonday()
Creates a matcher that matches when the examined date is on a monday
For example:
|
static TemporalMatcher<ZonedDateTime> |
ZonedDateTimeMatchers.isMonth(Month month)
Creates a matcher that matches when the examined date is in the expected month
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.isMonth(Month month)
Creates a matcher that matches when the examined date is in the expected month
For example:
|
static TemporalMatcher<OffsetDateTime> |
OffsetDateTimeMatchers.isMonth(Month month)
Creates a matcher that matches when the examined date is in the expected month
For example:
|
static TemporalMatcher<LocalDateTime> |
LocalDateTimeMatchers.isMonth(Month month)
Creates a matcher that matches when the examined date is in the expected month
For example:
|
static TemporalMatcher<LocalDate> |
LocalDateMatchers.isMonth(Month month)
Creates a matcher that matches when the examined date is in the expected month
For example:
|
static TemporalMatcher<Instant> |
InstantMatchers.isMonth(Month month)
Creates a matcher that matches when the examined date is in the expected month
For example:
|
static TemporalMatcher<Date> |
DateMatchers.isMonth(Month month)
Creates a matcher that matches when the examined date is in the expected month
For example:
|
static TemporalMatcher<ZonedDateTime> |
ZonedDateTimeMatchers.isNovember()
Creates a matcher that matches when the examined date is in November
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.isNovember()
Creates a matcher that matches when the examined date is in November
For example:
|
static TemporalMatcher<OffsetDateTime> |
OffsetDateTimeMatchers.isNovember()
Creates a matcher that matches when the examined date is in November
For example:
|
static TemporalMatcher<LocalDateTime> |
LocalDateTimeMatchers.isNovember()
Creates a matcher that matches when the examined date is in November
For example:
|
static TemporalMatcher<LocalDate> |
LocalDateMatchers.isNovember()
Creates a matcher that matches when the examined date is in November
For example:
|
static TemporalMatcher<Instant> |
InstantMatchers.isNovember()
Creates a matcher that matches when the examined date is in November
For example:
|
static TemporalMatcher<Date> |
DateMatchers.isNovember()
Creates a matcher that matches when the examined date is in November
For example:
|
static TemporalMatcher<ZonedDateTime> |
ZonedDateTimeMatchers.isOctober()
Creates a matcher that matches when the examined date is in October
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.isOctober()
Creates a matcher that matches when the examined date is in October
For example:
|
static TemporalMatcher<OffsetDateTime> |
OffsetDateTimeMatchers.isOctober()
Creates a matcher that matches when the examined date is in October
For example:
|
static TemporalMatcher<LocalDateTime> |
LocalDateTimeMatchers.isOctober()
Creates a matcher that matches when the examined date is in October
For example:
|
static TemporalMatcher<LocalDate> |
LocalDateMatchers.isOctober()
Creates a matcher that matches when the examined date is in October
For example:
|
static TemporalMatcher<Instant> |
InstantMatchers.isOctober()
Creates a matcher that matches when the examined date is in October
For example:
|
static TemporalMatcher<Date> |
DateMatchers.isOctober()
Creates a matcher that matches when the examined date is in October
For example:
|
static TemporalMatcher<ZonedDateTime> |
ZonedDateTimeMatchers.isSaturday()
Creates a matcher that matches when the examined date is on a saturday
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.isSaturday()
Creates a matcher that matches when the examined date is on a saturday
For example:
|
static TemporalMatcher<OffsetDateTime> |
OffsetDateTimeMatchers.isSaturday()
Creates a matcher that matches when the examined date is on a saturday
For example:
|
static TemporalMatcher<LocalDateTime> |
LocalDateTimeMatchers.isSaturday()
Creates a matcher that matches when the examined date is on a saturday
For example:
|
static TemporalMatcher<LocalDate> |
LocalDateMatchers.isSaturday()
Creates a matcher that matches when the examined date is on a saturday
For example:
|
static TemporalMatcher<Instant> |
InstantMatchers.isSaturday()
Creates a matcher that matches when the examined date is on a saturday
For example:
|
static TemporalMatcher<Date> |
DateMatchers.isSaturday()
Creates a matcher that matches when the examined date is on a saturday
For example:
|
static TemporalMatcher<ZonedDateTime> |
ZonedDateTimeMatchers.isSecond(int second)
Creates a matcher that matches when the examined date is on the expected second (0-59)
For example:
|
static TemporalMatcher<OffsetDateTime> |
OffsetDateTimeMatchers.isSecond(int second)
Creates a matcher that matches when the examined date is on the expected second (0-59)
For example:
|
static TemporalMatcher<LocalDateTime> |
LocalDateTimeMatchers.isSecond(int second)
Creates a matcher that matches when the examined date is on the expected second (0-59)
For example:
|
static TemporalMatcher<Instant> |
InstantMatchers.isSecond(int second)
Creates a matcher that matches when the examined date is on the expected second (0-59)
For example:
|
static TemporalMatcher<Date> |
DateMatchers.isSecond(int second)
Creates a matcher that matches when the examined date is on the reference second
For example:
|
static TemporalMatcher<ZonedDateTime> |
ZonedDateTimeMatchers.isSeptember()
Creates a matcher that matches when the examined date is in September
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.isSeptember()
Creates a matcher that matches when the examined date is in September
For example:
|
static TemporalMatcher<OffsetDateTime> |
OffsetDateTimeMatchers.isSeptember()
Creates a matcher that matches when the examined date is in September
For example:
|
static TemporalMatcher<LocalDateTime> |
LocalDateTimeMatchers.isSeptember()
Creates a matcher that matches when the examined date is in September
For example:
|
static TemporalMatcher<LocalDate> |
LocalDateMatchers.isSeptember()
Creates a matcher that matches when the examined date is in September
For example:
|
static TemporalMatcher<Instant> |
InstantMatchers.isSeptember()
Creates a matcher that matches when the examined date is in September
For example:
|
static TemporalMatcher<Date> |
DateMatchers.isSeptember()
Creates a matcher that matches when the examined date is in September
For example:
|
static TemporalMatcher<ZonedDateTime> |
ZonedDateTimeMatchers.isSunday()
Creates a matcher that matches when the examined date is on a sunday
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.isSunday()
Creates a matcher that matches when the examined date is on a sunday
For example:
|
static TemporalMatcher<OffsetDateTime> |
OffsetDateTimeMatchers.isSunday()
Creates a matcher that matches when the examined date is on a sunday
For example:
|
static TemporalMatcher<LocalDateTime> |
LocalDateTimeMatchers.isSunday()
Creates a matcher that matches when the examined date is on a sunday
For example:
|
static TemporalMatcher<LocalDate> |
LocalDateMatchers.isSunday()
Creates a matcher that matches when the examined date is on a sunday
For example:
|
static TemporalMatcher<Instant> |
InstantMatchers.isSunday()
Creates a matcher that matches when the examined date is on a sunday
For example:
|
static TemporalMatcher<Date> |
DateMatchers.isSunday()
Creates a matcher that matches when the examined date is on a sunday
For example:
|
static TemporalMatcher<ZonedDateTime> |
ZonedDateTimeMatchers.isThursday()
Creates a matcher that matches when the examined date is on a thursday
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.isThursday()
Creates a matcher that matches when the examined date is on a thursday
For example:
|
static TemporalMatcher<OffsetDateTime> |
OffsetDateTimeMatchers.isThursday()
Creates a matcher that matches when the examined date is on a thursday
For example:
|
static TemporalMatcher<LocalDateTime> |
LocalDateTimeMatchers.isThursday()
Creates a matcher that matches when the examined date is on a thursday
For example:
|
static TemporalMatcher<LocalDate> |
LocalDateMatchers.isThursday()
Creates a matcher that matches when the examined date is on a thursday
For example:
|
static TemporalMatcher<Instant> |
InstantMatchers.isThursday()
Creates a matcher that matches when the examined date is on a thursday
For example:
|
static TemporalMatcher<Date> |
DateMatchers.isThursday()
Creates a matcher that matches when the examined date is on a thursday
For example:
|
static TemporalMatcher<ZonedDateTime> |
ZonedDateTimeMatchers.isToday()
Creates a matcher that matches when the examined date is today
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.isToday()
Creates a matcher that matches when the examined date is today
For example:
|
static TemporalMatcher<OffsetDateTime> |
OffsetDateTimeMatchers.isToday()
Creates a matcher that matches when the examined date is today
For example:
|
static TemporalMatcher<LocalDateTime> |
LocalDateTimeMatchers.isToday()
Creates a matcher that matches when the examined date is today
For example:
|
static TemporalMatcher<LocalDate> |
LocalDateMatchers.isToday()
Creates a matcher that matches when the examined date is today
For example:
|
static TemporalMatcher<Instant> |
InstantMatchers.isToday()
Creates a matcher that matches when the examined date is today
For example:
|
static TemporalMatcher<Date> |
DateMatchers.isToday()
Creates a matcher that matches when the examined date is today
For example:
|
static TemporalMatcher<ZonedDateTime> |
ZonedDateTimeMatchers.isTomorrow()
Creates a matcher that matches when the examined date is tomorrow
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.isTomorrow()
Creates a matcher that matches when the examined date is tomorrow
For example:
|
static TemporalMatcher<OffsetDateTime> |
OffsetDateTimeMatchers.isTomorrow()
Creates a matcher that matches when the examined date is tomorrow
For example:
|
static TemporalMatcher<LocalDateTime> |
LocalDateTimeMatchers.isTomorrow()
Creates a matcher that matches when the examined date is tomorrow
For example:
|
static TemporalMatcher<LocalDate> |
LocalDateMatchers.isTomorrow()
Creates a matcher that matches when the examined date is tomorrow
For example:
|
static TemporalMatcher<Instant> |
InstantMatchers.isTomorrow()
Creates a matcher that matches when the examined date is tomorrow
For example:
|
static TemporalMatcher<Date> |
DateMatchers.isTomorrow()
Creates a matcher that matches when the examined date is tomorrow
For example:
|
static TemporalMatcher<ZonedDateTime> |
ZonedDateTimeMatchers.isTuesday()
Creates a matcher that matches when the examined date is on a tuesday
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.isTuesday()
Creates a matcher that matches when the examined date is on a tuesday
For example:
|
static TemporalMatcher<OffsetDateTime> |
OffsetDateTimeMatchers.isTuesday()
Creates a matcher that matches when the examined date is on a tuesday
For example:
|
static TemporalMatcher<LocalDateTime> |
LocalDateTimeMatchers.isTuesday()
Creates a matcher that matches when the examined date is on a tuesday
For example:
|
static TemporalMatcher<LocalDate> |
LocalDateMatchers.isTuesday()
Creates a matcher that matches when the examined date is on a tuesday
For example:
|
static TemporalMatcher<Instant> |
InstantMatchers.isTuesday()
Creates a matcher that matches when the examined date is on a tuesday
For example:
|
static TemporalMatcher<Date> |
DateMatchers.isTuesday()
Creates a matcher that matches when the examined date is on a tuesday
For example:
|
static TemporalMatcher<ZonedDateTime> |
ZonedDateTimeMatchers.isWednesday()
Creates a matcher that matches when the examined date is on a wednesday
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.isWednesday()
Creates a matcher that matches when the examined date is on a wednesday
For example:
|
static TemporalMatcher<OffsetDateTime> |
OffsetDateTimeMatchers.isWednesday()
Creates a matcher that matches when the examined date is on a wednesday
For example:
|
static TemporalMatcher<LocalDateTime> |
LocalDateTimeMatchers.isWednesday()
Creates a matcher that matches when the examined date is on a wednesday
For example:
|
static TemporalMatcher<LocalDate> |
LocalDateMatchers.isWednesday()
Creates a matcher that matches when the examined date is on a wednesday
For example:
|
static TemporalMatcher<Instant> |
InstantMatchers.isWednesday()
Creates a matcher that matches when the examined date is on a wednesday
For example:
|
static TemporalMatcher<Date> |
DateMatchers.isWednesday()
Creates a matcher that matches when the examined date is on a wednesday
For example:
|
static TemporalMatcher<ZonedDateTime> |
ZonedDateTimeMatchers.isWeekday()
Creates a matcher that matches when the examined date is on a weekday
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.isWeekday()
Creates a matcher that matches when the examined date is on a weekday
For example:
|
static TemporalMatcher<OffsetDateTime> |
OffsetDateTimeMatchers.isWeekday()
Creates a matcher that matches when the examined date is on a weekday
For example:
|
static TemporalMatcher<LocalDateTime> |
LocalDateTimeMatchers.isWeekday()
Creates a matcher that matches when the examined date is on a weekday
For example:
|
static TemporalMatcher<LocalDate> |
LocalDateMatchers.isWeekday()
Creates a matcher that matches when the examined date is on a weekday
For example:
|
static TemporalMatcher<Instant> |
InstantMatchers.isWeekday()
Creates a matcher that matches when the examined date is on a weekday
For example:
|
static TemporalMatcher<Date> |
DateMatchers.isWeekday()
Creates a matcher that matches when the examined date is on a weekday
For example:
|
static TemporalMatcher<ZonedDateTime> |
ZonedDateTimeMatchers.isWeekend()
Creates a matcher that matches when the examined date is on a weekend
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.isWeekend()
Creates a matcher that matches when the examined date is on a weekend
For example:
|
static TemporalMatcher<OffsetDateTime> |
OffsetDateTimeMatchers.isWeekend()
Creates a matcher that matches when the examined date is on a weekend
For example:
|
static TemporalMatcher<LocalDateTime> |
LocalDateTimeMatchers.isWeekend()
Creates a matcher that matches when the examined date is on a weekend
For example:
|
static TemporalMatcher<LocalDate> |
LocalDateMatchers.isWeekend()
Creates a matcher that matches when the examined date is on a weekend
For example:
|
static TemporalMatcher<Instant> |
InstantMatchers.isWeekend()
Creates a matcher that matches when the examined date is on a weekend
For example:
|
static TemporalMatcher<Date> |
DateMatchers.isWeekend()
Creates a matcher that matches when the examined date is on a weekend
For example:
|
static TemporalMatcher<ZonedDateTime> |
ZonedDateTimeMatchers.isYear(int year)
Creates a matcher that matches when the examined date is on the same year as the reference year
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.isYear(int year)
Creates a matcher that matches when the examined date is on the same year as the reference year
For example:
|
static TemporalMatcher<OffsetDateTime> |
OffsetDateTimeMatchers.isYear(int year)
Creates a matcher that matches when the examined date is on the same year as the reference year
For example:
|
static TemporalMatcher<LocalDateTime> |
LocalDateTimeMatchers.isYear(int year)
Creates a matcher that matches when the examined date is on the same year as the reference year
For example:
|
static TemporalMatcher<LocalDate> |
LocalDateMatchers.isYear(int year)
Creates a matcher that matches when the examined date is on the same year as the reference year
For example:
|
static TemporalMatcher<Instant> |
InstantMatchers.isYear(int year)
Creates a matcher that matches when the examined date is on the same year as the reference year
For example:
|
static TemporalMatcher<Date> |
DateMatchers.isYear(int year)
Creates a matcher that matches when the examined date is on the same year as the reference year
For example:
|
static TemporalMatcher<ZonedDateTime> |
ZonedDateTimeMatchers.isYesterday()
Creates a matcher that matches when the examined date is yesterday
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.isYesterday()
Creates a matcher that matches when the examined date is yesterday
For example:
|
static TemporalMatcher<OffsetDateTime> |
OffsetDateTimeMatchers.isYesterday()
Creates a matcher that matches when the examined date is yesterday
For example:
|
static TemporalMatcher<LocalDateTime> |
LocalDateTimeMatchers.isYesterday()
Creates a matcher that matches when the examined date is yesterday
For example:
|
static TemporalMatcher<LocalDate> |
LocalDateMatchers.isYesterday()
Creates a matcher that matches when the examined date is yesterday
For example:
|
static TemporalMatcher<Instant> |
InstantMatchers.isYesterday()
Creates a matcher that matches when the examined date is yesterday
For example:
|
static TemporalMatcher<Date> |
DateMatchers.isYesterday()
Creates a matcher that matches when the examined date is yesterday
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.sameDay(Date date)
Creates a matcher that matches when the examined date is on the same day of the year as the reference date
For example:
|
static TemporalMatcher<Date> |
DateMatchers.sameDay(Date date)
Creates a matcher that matches when the examined date is on the same day of the year as the reference date
For example:
|
static TemporalMatcher<Date> |
DateMatchers.sameDay(Date date)
Creates a matcher that matches when the examined date is on the same day of the year as the reference date
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.sameDay(DayMonthYear date)
Deprecated.
|
static TemporalMatcher<Date> |
DateMatchers.sameDay(DayMonthYear date)
Deprecated.
|
static TemporalMatcher<Instant> |
InstantMatchers.sameDay(Instant date)
Creates a matcher that matches when the examined date is on the same day of the year as the reference date
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.sameDay(int year,
Months month,
int day)
Deprecated.
|
static TemporalMatcher<Date> |
DateMatchers.sameDay(int year,
Months month,
int day)
Deprecated.
|
static TemporalMatcher<Date> |
SqlDateMatchers.sameDay(LocalDate date)
Creates a matcher that matches when the examined date is on the same day of the year as the reference date
For example:
|
static TemporalMatcher<LocalDate> |
LocalDateMatchers.sameDay(LocalDate date)
Creates a matcher that matches when the examined date is on the same day of the year as the reference date
For example:
|
static TemporalMatcher<Date> |
DateMatchers.sameDay(LocalDate date)
Creates a matcher that matches when the examined date is on the same day of the year as the reference date
For example:
|
static TemporalMatcher<LocalDateTime> |
LocalDateTimeMatchers.sameDay(LocalDateTime date)
Creates a matcher that matches when the examined date is on the same day of the year as the reference date
For example:
|
static TemporalMatcher<OffsetDateTime> |
OffsetDateTimeMatchers.sameDay(OffsetDateTime date)
Creates a matcher that matches when the examined date is on the same day of the year as the reference date
For example:
|
static TemporalMatcher<ZonedDateTime> |
ZonedDateTimeMatchers.sameDay(ZonedDateTime date)
Creates a matcher that matches when the examined date is on the same day of the year as the reference date
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.sameDayOfMonth(Date date)
Creates a matcher that matches when the examined date is on the same day of the month as the reference date
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.sameDayOfMonth(Date date)
Creates a matcher that matches when the examined date is on the same day of the month as the reference date
For example:
|
static TemporalMatcher<Date> |
DateMatchers.sameDayOfMonth(Date date)
Creates a matcher that matches when the examined date is on the same day of the month as the reference date
For example:
|
static TemporalMatcher<Instant> |
InstantMatchers.sameDayOfMonth(Instant date)
Creates a matcher that matches when the examined date is on the same day of the month as the reference date
For example:
|
static TemporalMatcher<LocalDate> |
LocalDateMatchers.sameDayOfMonth(LocalDate date)
Creates a matcher that matches when the examined date is on the same day of the month as the reference date
For example:
|
static TemporalMatcher<LocalDateTime> |
LocalDateTimeMatchers.sameDayOfMonth(LocalDateTime date)
Creates a matcher that matches when the examined date is on the same day of the month as the reference date
For example:
|
static TemporalMatcher<OffsetDateTime> |
OffsetDateTimeMatchers.sameDayOfMonth(OffsetDateTime date)
Creates a matcher that matches when the examined date is on the same day of the month as the reference date
For example:
|
static TemporalMatcher<ZonedDateTime> |
ZonedDateTimeMatchers.sameDayOfMonth(ZonedDateTime date)
Creates a matcher that matches when the examined date is on the same day of the month as the reference date
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.sameDayOfWeek(Date date)
Creates a matcher that matches when the examined date is on the same day of the week as the reference date
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.sameDayOfWeek(Date date)
Creates a matcher that matches when the examined date is on the same day of the week as the reference date
For example:
|
static TemporalMatcher<Date> |
DateMatchers.sameDayOfWeek(Date date)
Creates a matcher that matches when the examined date is on the same day of the week as the reference date
For example:
|
static TemporalMatcher<Date> |
DateMatchers.sameDayOfWeek(Date date)
Creates a matcher that matches when the examined date is on the same day of the week as the reference date
For example:
|
static TemporalMatcher<Instant> |
InstantMatchers.sameDayOfWeek(Instant date)
Creates a matcher that matches when the examined date is on the same day of the week as the reference date
For example:
|
static TemporalMatcher<LocalDate> |
LocalDateMatchers.sameDayOfWeek(LocalDate date)
Creates a matcher that matches when the examined date is on the same day of the week as the reference date
For example:
|
static TemporalMatcher<LocalDateTime> |
LocalDateTimeMatchers.sameDayOfWeek(LocalDateTime date)
Creates a matcher that matches when the examined date is on the same day of the week as the reference date
For example:
|
static TemporalMatcher<OffsetDateTime> |
OffsetDateTimeMatchers.sameDayOfWeek(OffsetDateTime date)
Creates a matcher that matches when the examined date is on the same day of the week as the reference date
For example:
|
static TemporalMatcher<ZonedDateTime> |
ZonedDateTimeMatchers.sameDayOfWeek(ZonedDateTime date)
Creates a matcher that matches when the examined date is on the same day of the week as the reference date
For example:
|
static TemporalMatcher<Date> |
DateMatchers.sameHour(Date date)
Deprecated.
Use
DateMatchers.sameHourOfDay(Date) instead |
static TemporalMatcher<Date> |
DateMatchers.sameHour(Date date)
Deprecated.
java.sql.Date does not support time-based comparisons. Prefer
SqlDateMatchers for
java.sql.Date appropriate matchers |
static TemporalMatcher<Date> |
DateMatchers.sameHour(int hour)
Deprecated.
Use
DateMatchers.isHour(int) instead |
static TemporalMatcher<Date> |
DateMatchers.sameHourOfDay(Date date)
Creates a matcher that matches when the examined date is on the same hour as the reference date
For example:
|
static TemporalMatcher<Date> |
DateMatchers.sameHourOfDay(Date date)
Deprecated.
java.sql.Date does not support time-based comparisons. Prefer
SqlDateMatchers for
java.sql.Date appropriate matchers |
static TemporalMatcher<Instant> |
InstantMatchers.sameHourOfDay(Instant date)
Creates a matcher that matches when the examined date is on the same hour as the reference date
For example:
|
static TemporalMatcher<LocalDateTime> |
LocalDateTimeMatchers.sameHourOfDay(LocalDateTime date)
Creates a matcher that matches when the examined date is on the same hour as the reference date
For example:
|
static TemporalMatcher<OffsetDateTime> |
OffsetDateTimeMatchers.sameHourOfDay(OffsetDateTime date)
Creates a matcher that matches when the examined date is on the same hour as the reference date
For example:
|
static TemporalMatcher<ZonedDateTime> |
ZonedDateTimeMatchers.sameHourOfDay(ZonedDateTime date)
Creates a matcher that matches when the examined date is on the same hour as the reference date
For example:
|
static TemporalMatcher<Date> |
DateMatchers.sameInstant(Date date)
Creates a matcher that matches when the examined date is on the same instant as the reference date
For example:
|
static TemporalMatcher<Date> |
DateMatchers.sameInstant(Date date)
Deprecated.
java.sql.Date does not support time-based comparisons. Prefer
SqlDateMatchers for
java.sql.Date appropriate matchers |
static TemporalMatcher<Instant> |
InstantMatchers.sameInstant(Instant date)
Creates a matcher that matches when the examined date is at the same instant as the reference date
For example:
|
static TemporalMatcher<Date> |
DateMatchers.sameInstant(Instant instant)
Creates a matcher that matches when the examined date is on the same UTC instant as the reference Instant
supplied
For example:
|
static TemporalMatcher<Date> |
DateMatchers.sameInstant(int year,
Months month,
int dayOfMonth,
int hour,
int minute,
int second,
int milliseconds)
Deprecated.
|
static TemporalMatcher<LocalDateTime> |
LocalDateTimeMatchers.sameInstant(LocalDateTime date)
Creates a matcher that matches when the examined date is at the same instant as the reference date
For example:
|
static TemporalMatcher<Date> |
DateMatchers.sameInstant(long timestamp)
Creates a matcher that matches when the examined date is on the same UTC instant as the reference UTC epoch time
supplied
For example:
|
static TemporalMatcher<OffsetDateTime> |
OffsetDateTimeMatchers.sameInstant(OffsetDateTime date)
Creates a matcher that matches when the examined date is at the same instant as the reference date
For example:
|
static TemporalMatcher<ZonedDateTime> |
ZonedDateTimeMatchers.sameInstant(ZonedDateTime date)
Creates a matcher that matches when the examined date is at the same instant as the reference date
For example:
|
static TemporalMatcher<Date> |
DateMatchers.sameMillisecond(Date date)
Deprecated.
Use
DateMatchers.sameMillisecondOfSecond(Date) instead |
static TemporalMatcher<Date> |
DateMatchers.sameMillisecond(Date date)
Deprecated.
java.sql.Date does not support time-based comparisons. Prefer
SqlDateMatchers for
java.sql.Date appropriate matchers |
static TemporalMatcher<Date> |
DateMatchers.sameMillisecond(int millisecond)
Deprecated.
Use
DateMatchers.isMillisecond(int) instead |
static TemporalMatcher<Date> |
DateMatchers.sameMillisecondOfSecond(Date date)
Creates a matcher that matches when the examined date is on the same millisecond as the reference date
For example:
|
static TemporalMatcher<Date> |
DateMatchers.sameMillisecondOfSecond(Date date)
Deprecated.
java.sql.Date does not support time-based comparisons. Prefer
SqlDateMatchers for
java.sql.Date appropriate matchers |
static TemporalMatcher<Date> |
DateMatchers.sameMinute(Date date)
Deprecated.
Use
DateMatchers.sameMinuteOfHour(Date) instead |
static TemporalMatcher<Date> |
DateMatchers.sameMinute(Date date)
Deprecated.
java.sql.Date does not support time-based comparisons. Prefer
SqlDateMatchers for
java.sql.Date appropriate matchers |
static TemporalMatcher<Date> |
DateMatchers.sameMinute(int minute)
Deprecated.
Use
DateMatchers.isMinute(int) instead |
static TemporalMatcher<Date> |
DateMatchers.sameMinuteOfHour(Date date)
Creates a matcher that matches when the examined date is on the same minute as the reference date
For example:
|
static TemporalMatcher<Date> |
DateMatchers.sameMinuteOfHour(Date date)
Deprecated.
java.sql.Date does not support time-based comparisons. Prefer
SqlDateMatchers for
java.sql.Date appropriate matchers |
static TemporalMatcher<Instant> |
InstantMatchers.sameMinuteOfHour(Instant date)
Creates a matcher that matches when the examined date is on the same minute as the reference date
For example:
|
static TemporalMatcher<LocalDateTime> |
LocalDateTimeMatchers.sameMinuteOfHour(LocalDateTime date)
Creates a matcher that matches when the examined date is on the same minute as the reference date
For example:
|
static TemporalMatcher<OffsetDateTime> |
OffsetDateTimeMatchers.sameMinuteOfHour(OffsetDateTime date)
Creates a matcher that matches when the examined date is on the same minute as the reference date
For example:
|
static TemporalMatcher<ZonedDateTime> |
ZonedDateTimeMatchers.sameMinuteOfHour(ZonedDateTime date)
Creates a matcher that matches when the examined date is on the same minute as the reference date
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.sameMonth(Date date)
Deprecated.
Use
SqlDateMatchers.sameMonthOfYear(Date) instead |
static TemporalMatcher<Date> |
SqlDateMatchers.sameMonth(Date date)
Deprecated.
Use
SqlDateMatchers.sameMonthOfYear(Date) instead |
static TemporalMatcher<Date> |
DateMatchers.sameMonth(Date date)
Deprecated.
Use
DateMatchers.sameMonthOfYear(Date) instead |
static TemporalMatcher<Date> |
DateMatchers.sameMonth(Date date)
Deprecated.
Use
DateMatchers.sameMonthOfYear(Date) instead |
static TemporalMatcher<Date> |
SqlDateMatchers.sameMonth(Months month)
Deprecated.
Use
SqlDateMatchers.sameMonthOfYear(Months) instead |
static TemporalMatcher<Date> |
DateMatchers.sameMonth(Months month)
Deprecated.
Use
DateMatchers.sameMonthOfYear(Months) instead |
static TemporalMatcher<Date> |
SqlDateMatchers.sameMonthOfYear(Date date)
Creates a matcher that matches when the examined date is on the same month as the reference date
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.sameMonthOfYear(Date date)
Creates a matcher that matches when the examined date is on the same month as the reference date
For example:
|
static TemporalMatcher<Date> |
DateMatchers.sameMonthOfYear(Date date)
Creates a matcher that matches when the examined date is on the same month as the reference date
For example:
|
static TemporalMatcher<Date> |
DateMatchers.sameMonthOfYear(Date date)
Creates a matcher that matches when the examined date is on the same month as the reference date
For example:
|
static TemporalMatcher<Instant> |
InstantMatchers.sameMonthOfYear(Instant date)
Creates a matcher that matches when the examined date is on the same month as the reference date
For example:
|
static TemporalMatcher<LocalDate> |
LocalDateMatchers.sameMonthOfYear(LocalDate date)
Creates a matcher that matches when the examined date is on the same month as the reference date
For example:
|
static TemporalMatcher<LocalDateTime> |
LocalDateTimeMatchers.sameMonthOfYear(LocalDateTime date)
Creates a matcher that matches when the examined date is on the same month as the reference date
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.sameMonthOfYear(Months month)
Deprecated.
|
static TemporalMatcher<Date> |
DateMatchers.sameMonthOfYear(Months month)
Deprecated.
|
static TemporalMatcher<OffsetDateTime> |
OffsetDateTimeMatchers.sameMonthOfYear(OffsetDateTime date)
Creates a matcher that matches when the examined date is on the same month as the reference date
For example:
|
static TemporalMatcher<ZonedDateTime> |
ZonedDateTimeMatchers.sameMonthOfYear(ZonedDateTime date)
Creates a matcher that matches when the examined date is on the same month as the reference date
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.sameOrAfter(Date date)
Creates a matcher that matches when the examined date is at the same instant or after the reference date
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.sameOrAfter(Date date)
Creates a matcher that matches when the examined date is at the same instant or after the reference date
For example:
|
static TemporalMatcher<Date> |
DateMatchers.sameOrAfter(Date date)
F Creates a matcher that matches when the examined date is at the same instant or after the reference date
For example:
|
static TemporalMatcher<Date> |
DateMatchers.sameOrAfter(Date date)
F Creates a matcher that matches when the examined date is at the same instant or after the reference date
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.sameOrAfter(DayMonthYear date)
Deprecated.
|
static TemporalMatcher<Date> |
DateMatchers.sameOrAfter(DayMonthYear date)
Deprecated.
|
static TemporalMatcher<Instant> |
InstantMatchers.sameOrAfter(Instant date)
Creates a matcher that matches when the examined date is at the same instant or after the reference date
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.sameOrAfter(int year,
Month month,
int dayOfMonth)
Creates a matcher that matches when the examined date is on the same day or after the start of the reference date
For example:
|
static TemporalMatcher<LocalDate> |
LocalDateMatchers.sameOrAfter(int year,
Month month,
int day)
Creates a matcher that matches when the examined date is on the same day or after the start of the reference date
For example:
|
static TemporalMatcher<Date> |
DateMatchers.sameOrAfter(int year,
Month month,
int dayOfMonth)
Creates a matcher that matches when the examined date is on the same day or after the start of the reference date
For example:
|
static TemporalMatcher<LocalDateTime> |
LocalDateTimeMatchers.sameOrAfter(int year,
Month month,
int day,
int hour,
int minute,
int second)
Creates a matcher that matches when the examined date is on the same day or after the start of the reference date
For example:
|
static TemporalMatcher<Date> |
DateMatchers.sameOrAfter(int year,
Month month,
int dayOfMonth,
int hour,
int minute,
int second)
Creates a matcher that matches when the examined date is on the same second or after the start of the reference
date and time
For example:
|
static TemporalMatcher<ZonedDateTime> |
ZonedDateTimeMatchers.sameOrAfter(int year,
Month month,
int day,
int hour,
int minute,
int second,
int nanos,
ZoneId tz)
Creates a matcher that matches when the examined date is on the same day or before the start of the reference
date
For example:
|
static TemporalMatcher<Instant> |
InstantMatchers.sameOrAfter(int year,
Month month,
int day,
int hour,
int minute,
int second,
int nanos,
ZoneId tz)
Creates a matcher that matches when the examined date is on the same day or before the start of the reference
date
For example:
|
static TemporalMatcher<OffsetDateTime> |
OffsetDateTimeMatchers.sameOrAfter(int year,
Month month,
int day,
int hour,
int minute,
int second,
int nanos,
ZoneOffset tz)
Creates a matcher that matches when the examined date is on the same day or before the start of the reference
date
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.sameOrAfter(int year,
Months month,
int dayOfMonth)
Deprecated.
Use {@link #sameOrAfter(int, Month, int)
|
static TemporalMatcher<Date> |
DateMatchers.sameOrAfter(int year,
Months month,
int dayOfMonth)
Deprecated.
Use {@link #sameOrAfter(int, Month, int)
|
static TemporalMatcher<Date> |
DateMatchers.sameOrAfter(int year,
Months month,
int dayOfMonth,
int hour,
int minute,
int second)
Deprecated.
|
static TemporalMatcher<Date> |
SqlDateMatchers.sameOrAfter(LocalDate date)
F Creates a matcher that matches when the examined date is at the same instant or after the reference date
For example:
|
static TemporalMatcher<LocalDate> |
LocalDateMatchers.sameOrAfter(LocalDate date)
Creates a matcher that matches when the examined date is at the same instant or after the reference date
For example:
|
static TemporalMatcher<Date> |
DateMatchers.sameOrAfter(LocalDate date)
F Creates a matcher that matches when the examined date is at the same instant or after the reference date
For example:
|
static TemporalMatcher<LocalDateTime> |
LocalDateTimeMatchers.sameOrAfter(LocalDateTime date)
Creates a matcher that matches when the examined date is at the same instant or after the reference date
For example:
|
static TemporalMatcher<Date> |
DateMatchers.sameOrAfter(LocalDateTime date)
F Creates a matcher that matches when the examined date is at the same instant or after the reference date
For example:
|
static TemporalMatcher<OffsetDateTime> |
OffsetDateTimeMatchers.sameOrAfter(OffsetDateTime date)
Creates a matcher that matches when the examined date is at the same instant or after the reference date
For example:
|
static TemporalMatcher<ZonedDateTime> |
ZonedDateTimeMatchers.sameOrAfter(ZonedDateTime date)
Creates a matcher that matches when the examined date is at the same instant or after the reference date
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.sameOrBefore(Date date)
Creates a matcher that matches when the examined date is at the same instant or before the reference date
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.sameOrBefore(Date date)
Creates a matcher that matches when the examined date is at the same instant or before the reference date
For example:
|
static TemporalMatcher<Date> |
DateMatchers.sameOrBefore(Date date)
Creates a matcher that matches when the examined date is at the same instant or before the reference date
For example:
|
static TemporalMatcher<Date> |
DateMatchers.sameOrBefore(Date date)
Creates a matcher that matches when the examined date is at the same instant or before the reference date
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.sameOrBefore(DayMonthYear date)
Deprecated.
|
static TemporalMatcher<Date> |
DateMatchers.sameOrBefore(DayMonthYear date)
Deprecated.
|
static TemporalMatcher<Instant> |
InstantMatchers.sameOrBefore(Instant date)
Creates a matcher that matches when the examined date is at the same instant or before the reference date
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.sameOrBefore(int year,
Month month,
int dayOfMonth)
Creates a matcher that matches when the examined date is on the same day or before the start of the reference
date
For example:
|
static TemporalMatcher<LocalDate> |
LocalDateMatchers.sameOrBefore(int year,
Month month,
int day)
Creates a matcher that matches when the examined date is on the same day or before the start of the reference
date
For example:
|
static TemporalMatcher<Date> |
DateMatchers.sameOrBefore(int year,
Month month,
int dayOfMonth)
Creates a matcher that matches when the examined date is on the same day or before the start of the reference
date
For example:
|
static TemporalMatcher<LocalDateTime> |
LocalDateTimeMatchers.sameOrBefore(int year,
Month month,
int day,
int hour,
int minute,
int second)
Creates a matcher that matches when the examined date is on the same day or before the start of the reference
date
For example:
|
static TemporalMatcher<Date> |
DateMatchers.sameOrBefore(int year,
Month month,
int dayOfMonth,
int hour,
int minute,
int second)
Creates a matcher that matches when the examined date is on the same second or before the start of the reference
date and time
For example:
|
static TemporalMatcher<ZonedDateTime> |
ZonedDateTimeMatchers.sameOrBefore(int year,
Month month,
int day,
int hour,
int minute,
int second,
int nanos,
ZoneId tz)
Creates a matcher that matches when the examined date is on the same day or before the start of the reference
date
For example:
|
static TemporalMatcher<Instant> |
InstantMatchers.sameOrBefore(int year,
Month month,
int day,
int hour,
int minute,
int second,
int nanos,
ZoneId tz)
Creates a matcher that matches when the examined date is on the same day or before the start of the reference
date
For example:
|
static TemporalMatcher<OffsetDateTime> |
OffsetDateTimeMatchers.sameOrBefore(int year,
Month month,
int day,
int hour,
int minute,
int second,
int nanos,
ZoneOffset tz)
Creates a matcher that matches when the examined date is on the same day or before the start of the reference
date
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.sameOrBefore(int year,
Months month,
int dayOfMonth)
Deprecated.
|
static TemporalMatcher<Date> |
DateMatchers.sameOrBefore(int year,
Months month,
int dayOfMonth)
Deprecated.
|
static TemporalMatcher<Date> |
DateMatchers.sameOrBefore(int year,
Months month,
int dayOfMonth,
int hour,
int minute,
int second)
Deprecated.
|
static TemporalMatcher<Date> |
SqlDateMatchers.sameOrBefore(LocalDate date)
Creates a matcher that matches when the examined date is at the same instant or before the reference date
For example:
|
static TemporalMatcher<LocalDate> |
LocalDateMatchers.sameOrBefore(LocalDate date)
Creates a matcher that matches when the examined date is at the same instant or before the reference date
For example:
|
static TemporalMatcher<Date> |
DateMatchers.sameOrBefore(LocalDate date)
Creates a matcher that matches when the examined date is at the same instant or before the reference date
For example:
|
static TemporalMatcher<LocalDateTime> |
LocalDateTimeMatchers.sameOrBefore(LocalDateTime date)
Creates a matcher that matches when the examined date is at the same instant or before the reference date
For example:
|
static TemporalMatcher<Date> |
DateMatchers.sameOrBefore(LocalDateTime date)
Creates a matcher that matches when the examined date is at the same instant or before the reference date
For example:
|
static TemporalMatcher<OffsetDateTime> |
OffsetDateTimeMatchers.sameOrBefore(OffsetDateTime date)
Creates a matcher that matches when the examined date is at the same instant or before the reference date
For example:
|
static TemporalMatcher<ZonedDateTime> |
ZonedDateTimeMatchers.sameOrBefore(ZonedDateTime date)
Creates a matcher that matches when the examined date is at the same instant or before the reference date
For example:
|
static TemporalMatcher<Date> |
DateMatchers.sameSecond(Date date)
Deprecated.
Use
DateMatchers.sameSecondOfMinute(Date) instead |
static TemporalMatcher<Date> |
DateMatchers.sameSecond(Date date)
Deprecated.
java.sql.Date does not support time-based comparisons. Prefer
SqlDateMatchers for
java.sql.Date appropriate matchers |
static TemporalMatcher<Date> |
DateMatchers.sameSecond(int second)
Deprecated.
Use
DateMatchers.isSecond(int) instead |
static TemporalMatcher<Date> |
DateMatchers.sameSecondOfMinute(Date date)
Creates a matcher that matches when the examined date is on the same second as the reference date
For example:
|
static TemporalMatcher<Date> |
DateMatchers.sameSecondOfMinute(Date date)
Deprecated.
java.sql.Date does not support time-based comparisons. Prefer
SqlDateMatchers for
java.sql.Date appropriate matchers |
static TemporalMatcher<Instant> |
InstantMatchers.sameSecondOfMinute(Instant date)
Creates a matcher that matches when the examined date is on the same second as the reference date
For example:
|
static TemporalMatcher<LocalDateTime> |
LocalDateTimeMatchers.sameSecondOfMinute(LocalDateTime date)
Creates a matcher that matches when the examined date is on the same second as the reference date
For example:
|
static TemporalMatcher<OffsetDateTime> |
OffsetDateTimeMatchers.sameSecondOfMinute(OffsetDateTime date)
Creates a matcher that matches when the examined date is on the same second as the reference date
For example:
|
static TemporalMatcher<ZonedDateTime> |
ZonedDateTimeMatchers.sameSecondOfMinute(ZonedDateTime date)
Creates a matcher that matches when the examined date is on the same second as the reference date
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.sameYear(Date date)
Creates a matcher that matches when the examined date is on the same year as the reference date
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.sameYear(Date date)
Creates a matcher that matches when the examined date is on the same year as the reference date
For example:
|
static TemporalMatcher<Date> |
DateMatchers.sameYear(Date date)
Creates a matcher that matches when the examined date is on the same year as the reference date
For example:
|
static TemporalMatcher<Date> |
DateMatchers.sameYear(Date date)
Creates a matcher that matches when the examined date is on the same year as the reference date
For example:
|
static TemporalMatcher<Instant> |
InstantMatchers.sameYear(Instant date)
Creates a matcher that matches when the examined date is on the same year as the reference date
For example:
|
static TemporalMatcher<LocalDate> |
LocalDateMatchers.sameYear(LocalDate date)
Creates a matcher that matches when the examined date is on the same year as the reference date
For example:
|
static TemporalMatcher<LocalDateTime> |
LocalDateTimeMatchers.sameYear(LocalDateTime date)
Creates a matcher that matches when the examined date is on the same year as the reference date
For example:
|
static TemporalMatcher<OffsetDateTime> |
OffsetDateTimeMatchers.sameYear(OffsetDateTime date)
Creates a matcher that matches when the examined date is on the same year as the reference date
For example:
|
static TemporalMatcher<ZonedDateTime> |
ZonedDateTimeMatchers.sameYear(ZonedDateTime date)
Creates a matcher that matches when the examined date is on the same year as the reference date
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.within(long period,
ChronoUnit unit,
Date date)
Creates a matcher that matches when the examined date is within a defined period the reference date
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.within(long period,
ChronoUnit unit,
Date date)
Creates a matcher that matches when the examined date is within a defined period the reference date
For example:
|
static TemporalMatcher<Date> |
DateMatchers.within(long period,
ChronoUnit unit,
Date date)
Creates a matcher that matches when the examined date is within a defined period the reference date
For example:
|
static TemporalMatcher<Date> |
DateMatchers.within(long period,
ChronoUnit unit,
Date date)
Creates a matcher that matches when the examined date is within a defined period the reference date
For example:
|
static TemporalMatcher<Instant> |
InstantMatchers.within(long period,
ChronoUnit unit,
Instant date)
Creates a matcher that matches when the examined date is within a defined period the reference date
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.within(long period,
ChronoUnit unit,
int year,
Month month,
int dayOfMonth)
Creates a matcher that matches when the examined date is within a given period of the reference date
For example:
|
static TemporalMatcher<LocalDate> |
LocalDateMatchers.within(long period,
ChronoUnit unit,
int year,
Month month,
int dayofMonth)
Creates a matcher that matches when the examined date is within a given period of the reference date
For example:
|
static TemporalMatcher<Date> |
DateMatchers.within(long period,
ChronoUnit unit,
int year,
Month month,
int dayOfMonth)
Creates a matcher that matches when the examined date is within a given period of the reference date
For example:
|
static TemporalMatcher<LocalDateTime> |
LocalDateTimeMatchers.within(long period,
ChronoUnit unit,
int year,
Month month,
int dayofMonth,
int hour,
int minute,
int second,
int nanos)
Creates a matcher that matches when the examined date is within a given period of the reference date
For example:
|
static TemporalMatcher<Date> |
DateMatchers.within(long period,
ChronoUnit unit,
int year,
Month month,
int dayOfMonth,
int hour,
int minute,
int second,
int milliseconds)
Creates a matcher that matches when the examined date is within a given period of the reference date
For example:
|
static TemporalMatcher<ZonedDateTime> |
ZonedDateTimeMatchers.within(long period,
ChronoUnit unit,
int year,
Month month,
int dayofMonth,
int hour,
int minute,
int second,
int nanos,
ZoneId tz)
Creates a matcher that matches when the examined date is within a given period of the reference date
For example:
|
static TemporalMatcher<Instant> |
InstantMatchers.within(long period,
ChronoUnit unit,
int year,
Month month,
int dayofMonth,
int hour,
int minute,
int second,
int nanos,
ZoneId tz)
Creates a matcher that matches when the examined date is within a given period of the reference date
For example:
|
static TemporalMatcher<OffsetDateTime> |
OffsetDateTimeMatchers.within(long period,
ChronoUnit unit,
int year,
Month month,
int dayofMonth,
int hour,
int minute,
int second,
int nanos,
ZoneOffset tz)
Creates a matcher that matches when the examined date is within a given period of the reference date
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.within(long period,
ChronoUnit unit,
LocalDate date)
Creates a matcher that matches when the examined date is within a defined period the reference date
For example:
|
static TemporalMatcher<LocalDate> |
LocalDateMatchers.within(long period,
ChronoUnit unit,
LocalDate date)
Creates a matcher that matches when the examined date is within a defined period the reference date
For example:
|
static TemporalMatcher<Date> |
DateMatchers.within(long period,
ChronoUnit unit,
LocalDate date)
Creates a matcher that matches when the examined date is within a defined period the reference date
For example:
|
static TemporalMatcher<LocalDateTime> |
LocalDateTimeMatchers.within(long period,
ChronoUnit unit,
LocalDateTime date)
Creates a matcher that matches when the examined date is within a defined period the reference date
For example:
|
static TemporalMatcher<Date> |
DateMatchers.within(long period,
ChronoUnit unit,
LocalDateTime date)
Creates a matcher that matches when the examined date is within a defined period the reference date
For example:
|
static TemporalMatcher<OffsetDateTime> |
OffsetDateTimeMatchers.within(long period,
ChronoUnit unit,
OffsetDateTime date)
Creates a matcher that matches when the examined date is within a defined period the reference date
For example:
|
static TemporalMatcher<ZonedDateTime> |
ZonedDateTimeMatchers.within(long period,
ChronoUnit unit,
ZonedDateTime date)
Creates a matcher that matches when the examined date is within a defined period the reference date
For example:
|
static TemporalMatcher<Date> |
SqlDateMatchers.within(long period,
TimeUnit unit,
Date date)
Deprecated.
|
static TemporalMatcher<Date> |
SqlDateMatchers.within(long period,
TimeUnit unit,
Date date)
Deprecated.
|
static TemporalMatcher<Date> |
DateMatchers.within(long period,
TimeUnit unit,
Date date)
Deprecated.
|
static TemporalMatcher<Date> |
DateMatchers.within(long period,
TimeUnit unit,
Date date)
Deprecated.
|
static TemporalMatcher<Date> |
SqlDateMatchers.within(long period,
TimeUnit unit,
DayMonthYear date)
Deprecated.
|
static TemporalMatcher<Date> |
DateMatchers.within(long period,
TimeUnit unit,
DayMonthYear date)
Deprecated.
|
static TemporalMatcher<Date> |
SqlDateMatchers.within(long period,
TimeUnit unit,
int year,
Months month,
int dayOfMonth)
Deprecated.
|
static TemporalMatcher<Date> |
DateMatchers.within(long period,
TimeUnit unit,
int year,
Months month,
int dayOfMonth)
Deprecated.
|
static TemporalMatcher<Date> |
DateMatchers.within(long period,
TimeUnit unit,
int year,
Months month,
int dayOfMonth,
int hour,
int minute,
int second,
int milliseconds)
|
static TemporalMatcher<LocalDate> |
LocalDateMatchers.within(Period period,
LocalDate date)
Creates a matcher that matches when the examined date is within a defined period the reference date
For example:
|
| Modifier and Type | Class and Description |
|---|---|
class |
IsAfter<T,E>
A matcher that tests that the examined date is after the reference date
|
class |
IsBefore<T,E>
A matcher that tests that the examined date is before the reference date
|
class |
IsDayOfMonth<T>
A matcher that tests that the examined date is on the specified hour
|
class |
IsDayOfWeek<T>
A matcher that tests that the examined date is on the same day of the week as the reference date
|
class |
IsFirstDayOfMonth<T>
A matcher that tests that the examined date is on the first day of the month
|
class |
IsHour<T>
A matcher that tests that the examined date is on the specified hour
|
class |
IsLastDayOfMonth<T>
A matcher that tests that the examined date is on the first day of the month
|
class |
IsLeapYear<T>
A matcher that tests that the examined date is a leap year
|
class |
IsMaximum<T>
A base matcher that tests that the examined date has the maximum value for the given date part
|
class |
IsMillisecond<T>
A matcher that tests that the examined date is on the specified minute
|
class |
IsMinimum<T>
A base matcher that tests that the examined date has the maximum value for the given date part
|
class |
IsMinute<T>
A matcher that tests that the examined date is on the specified minute
|
class |
IsMonth<T>
A matcher that tests that the examined date is on the same month of the year as the reference date
|
class |
IsSame<T,E>
A matcher that tests that the examined date is the same as the reference date
|
class |
IsSameDay<T>
A matcher that tests that the examined date is the same date as the reference
date
|
class |
IsSameOrAfter<T,E>
A matcher that tests that the examined date is before or the same instant as
the reference date
|
class |
IsSameOrBefore<T,E>
A matcher that tests that the examined date is before or the same instant as
the reference date
|
class |
IsSecond<T>
A matcher that tests that the examined date is on the specified second
|
class |
IsWithin<T,E>
A matcher that tests that the examined date is within a defined period of the reference date
|
class |
IsYear<T>
A matcher that tests that the examined date is on the same year as the
reference date
|
Copyright © 2021 eXparity Limited. All rights reserved.