| java.lang.Object org.ddsteps.util.DateAssert
DateAssert | public class DateAssert (Code) | | Assertions for Dates.
author: adamskogman version: $Id: DateAssert.java,v 1.1 2005/12/03 12:51:41 adamskogman Exp $ |
assertDatesEqual | public static void assertDatesEqual(String message, Date expected, Date actual)(Code) | | Compare two dates using the System timezone. Does NOT compare the time
portion, only the Dates.
Parameters: message - Message if dates are now equal. Parameters: expected - The expected date. Parameters: actual - The actual date. |
assertDatesEqual | public static void assertDatesEqual(String message, Date expected, Date actual, TimeZone timeZone)(Code) | | Compare two dates using the System timezone. Does NOT compare the time
portion, only the Dates.
Parameters: message - Message if dates are now equal. Parameters: expected - The expected date. Parameters: actual - The actual date. Parameters: timeZone - The timezone to compare in. |
|
|