lastDayOfYear property
Last day of this year (the last day of Esfand), date-only.
Throws ArgumentError for 3177, whose Esfand is past PersianDate.max.
Implementation
PersianDate get lastDayOfYear => PersianDate(year, 12, isLeapYear ? 30 : 29);
Last day of this year (the last day of Esfand), date-only.
Throws ArgumentError for 3177, whose Esfand is past PersianDate.max.
PersianDate get lastDayOfYear => PersianDate(year, 12, isLeapYear ? 30 : 29);