public interface AQRandomDateVariation extends AQRandomVariation
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)
Modifier and Type | Method and Description |
---|---|
Date |
apply(Date date)
Returns a date that is the sum of the specified date and a time randomly generated
from this object.
|
Date apply(Date date) throws Exception
date
- a dateException
- if the specified date is null
Copyright © 2017 AquaFold, Inc. All Rights Reserved. Use is subject to license terms.