isSameFiscalYear method

bool isSameFiscalYear(
  1. Hora other, {
  2. int startMonth = 1,
})

Checks if this date is in the same fiscal year as another.

Implementation

bool isSameFiscalYear(Hora other, {int startMonth = 1}) =>
    fiscalYear(startMonth: startMonth) ==
    other.fiscalYear(startMonth: startMonth);