public override bool IsLeapDay(int year, int month, int day, int era) {
if (IsLeapMonth(year, month, era)) {
// Every day in a leap month is a leap day.
CheckHebrewDayValue(year, month, day, era);
return (true);
} else if (IsLeapYear(year, Calendar.CurrentEra)) {
// There is an additional day in the 6th month in the leap year (the extra day is the 30th day in the 6th month),
// so we should return true for 6/30 if that's in a leap year.
if (month == 6 && day == 30) {
return (true);
}
}
CheckHebrewDayValue(year, month, day, era);
return (false);
}