public class DateAssert extends AbstractDateAssert<DateAssert>
Dates.
To create a new instance of this class invoke .
Assertions.assertThat(Date)
Date and the other is a String
representing a Date.AbstractDateAssert.withDateFormat(DateFormat).AbstractDateAssert.withIsoDateFormat().actual, info, myself| Modifier | Constructor and Description |
|---|---|
protected |
DateAssert(Date actual)
Creates a new
DateAssert. |
hasTime, isAfter, isAfter, isAfterOrEqualsTo, isAfterOrEqualsTo, isAfterYear, isBefore, isBefore, isBeforeOrEqualsTo, isBeforeOrEqualsTo, isBeforeYear, isBetween, isBetween, isBetween, isBetween, isCloseTo, isCloseTo, isEqualTo, isIn, isInSameDayAs, isInSameDayAs, isInSameHourAs, isInSameHourAs, isInSameMinuteAs, isInSameMinuteAs, isInSameMonthAs, isInSameMonthAs, isInSameSecondAs, isInSameSecondAs, isInSameYearAs, isInSameYearAs, isInTheFuture, isInThePast, isInWithStringDateCollection, isNotBetween, isNotBetween, isNotBetween, isNotBetween, isNotEqualTo, isNotIn, isNotInWithStringDateCollection, isToday, isWithinDayOfMonth, isWithinDayOfWeek, isWithinHourOfDay, isWithinMillisecond, isWithinMinute, isWithinMonth, isWithinSecond, isWithinYear, useDateFormat, useIsoDateFormat, usingComparator, usingDefaultComparator, withDateFormat, withIsoDateFormatas, as, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, overridingErrorMessageprotected DateAssert(Date actual)
DateAssert.actual - the target to verify.Copyright © 2013 AssertJ. All Rights Reserved.