22232425262728
Calendar endDate = (Calendar) referenceDate.clone(); endDate.add(Calendar.YEAR, 28); end = endDate.getTimeInMillis(); } this.random = new RandomFunction(Long.class, new Range(start, end)); }
26272829303132
this.random = new RandomFunction(Long.class, new Range(start, end)); } public DateTimeFunction(Calendar startDate, Calendar endDate) { this.random = new RandomFunction(Long.class, new Range(startDate.getTimeInMillis(), endDate.getTimeInMillis())); }