| Class | Description |
|---|---|
| DateMatchers |
Static factory for creating
Matcher instances for comparing dates |
| DayMonthYear |
Value object to store a day, month, and year tuple
|
| IsAfter |
A matcher that tests that the examined date is after the reference date
|
| IsBefore |
A matcher that tests that the examined date is before the reference date
|
| IsDay |
A set of matchers for testing the day portion of a
Date |
| IsDayOfMonth | |
| IsLeapYear |
A matcher that tests that the examined date is a leap year
|
| IsSameDay |
A matcher that tests that the examined date is on the same day of the year as the reference date
|
| IsSameDayOfWeek |
A matcher that tests that the examined date is on the same day of the week as the reference date
|
| IsSameHour |
A matcher that tests that the examined date is on the same hour as the reference date
|
| IsSameInstant |
A matcher that tests that the examined date is the same instant down to the millisecond as the reference date
|
| IsSameMillisecond |
A matcher that tests that the examined date is on the same second as the reference date
|
| IsSameMinute |
A matcher that tests that the examined date is on the same minute as the reference date
|
| IsSameMonth |
A matcher that tests that the examined date is on the same month as the reference date
|
| IsSameOrAfter |
A matcher that tests that the examined date is after or at the same instant as the reference date
|
| IsSameOrBefore |
A matcher that tests that the examined date is before or at the same instant as the reference date
|
| IsSameSecond |
A matcher that tests that the examined date is on the same second as the reference date
|
| IsSameYear |
A matcher that tests that the examined date is on the same year as the reference date
|
| IsWithin |
A matcher that tests that the examined date is within a defined period of the reference date
|
| Moments |
Static factory to create moments in time such as now, today, tomorrow, etc
|
| Enum | Description |
|---|---|
| Months |
Enumeration of months in a year
|
| Weekdays |
Enumeration of days in a week
|
Matchers of Dates
Copyright © 2014. All Rights Reserved.