public int getMaximumValue(Calendrical calendrical) {
Integer year = calendrical.deriveValueQuiet(yearRule());
Integer moy = calendrical.deriveValueQuiet(monthOfYearRule());
if (year != null && moy != null) {
MonthOfYear month = MonthOfYear.monthOfYear(moy);
return month.lengthInDays(year);
}
return getMaximumValue();
}
@Override
public Integer getValueQuiet(LocalDate date, LocalTime time) {