|
OpenAPI 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AQRandomDateVariation
This interface represents a change that a Date object could possibly have.
Instances of this interface can be instantiated by one of the following methods:AQRandomFactory.newRandomDateVariation()
AQRandomFactory.newRandomDateVariation(int years, int months, int days, int hours, int minutes, int seconds)
AQRandomFactory.newRandomDateVariation(int minYears, int minMonths, int minDays, int minHours, int minMinutes, int minSeconds, int maxYears,
int maxMonths, int maxDays, int maxHours, int maxMinutes, int maxSeconds)
Method Summary | |
---|---|
Date |
apply(Date date)
Returns a date that is the sum of the specified date and a time randomly generated from this object. |
Method Detail |
---|
Date apply(Date date) throws Exception
date
- a date
Exception
- if the specified date is null
|
OpenAPI 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |