Assertions for {@link Date}s.
To create a new instance of this class invoke {@link Assertions#assertThat(Date)}
.
Note that assertions with date parameter comes with two flavor, one is obviously a {@link Date} and the other is a Stringrepresenting a Date.
For the latter, the default format follows ISO 8901 : "yyyy-MM-dd", user can override it with a custom format by calling {@link #withDateFormat(DateFormat)}.
The user custom format will then be used for all next Date assertions (i.e not limited to the current assertion) in the test suite.
To turn back to default format, simply call {@link #withDefaultDateFormatsOnly()}.
@author Tomasz Nurkiewicz (thanks for giving assertions idea)
@author Joel Costigliola
@author Mikhail Mazursky