private final Long start;
private final Long end;
private DateRangeOverwritePolicy(String attribute, Calendar start, Calendar end) {
if (start != null && end != null && start.after(end)) {
throw new InvalidAbsoluteIntervalException(DateUnit.DAY, start, end);
}
this.attribute = attribute;
this.start = start == null ? null : start.getTimeInMillis();
this.end = end == null ? null : end.getTimeInMillis();
}