JavaTimePeriods
Returns random Period s constrained to last a certain number number of days, months and/or years.
API
JavaTimePeriods.java
class JavaTimePeriods {
JavaTimePeriods(FakeDataService fakeDataService)
Period daysBetween(int minDays, int maxDays)
Period daysUpTo(int maxDays)
Period monthsBetween(int minMonths, int maxMonths)
Period monthsUpTo(int months)
Period yearsBetween(int minYears, int maxYears)
Period yearsUpTo(int years)
Period within(Period period)
}