IntervalPattern.withStartDateAndInterval constructor
IntervalPattern.withStartDateAndInterval(
- TZDateTime startDate,
- int interval
Implementation
IntervalPattern.withStartDateAndInterval(TZDateTime startDate, int interval)
: super.withStartDate(startDate) {
if (interval < 1) {
throw new RangeError(
"interval is Strings.IntervalMustBeGreaterOrEqualToOne");
}
this.Interval = interval;
}