isAtSameMonthAs method
Returns true if other
is in the same month as this
.
This means the exact month, including year.
Does not account for timezones.
Implementation
bool isAtSameMonthAs(DateTime other) =>
isAtSameYearAs(other) && month == other.month;