| java.lang.Object net.sf.mockcreator.expectable.ExpectDate
Constructor Summary | |
public | ExpectDate(Date date, long millisDeviation) Construct expectable by date and allowed error in milliseconds. | public | ExpectDate(Date from, Date till) Construct expectable by date range. |
ExpectDate | public ExpectDate(Date date, long millisDeviation)(Code) | | Construct expectable by date and allowed error in milliseconds.
Borders of the range are included.
Parameters: date - Expected date Parameters: millisDeviation - Allowed distance from the date in millis. |
ExpectDate | public ExpectDate(Date from, Date till)(Code) | | Construct expectable by date range. Borders of the range are included.
Parameters: from - Expected date lower bound inclusive. Parameters: till - Expected date upper bound inclusive. |
|
|