isSameMonthAs method

bool isSameMonthAs(
  1. DateTime other
)

Checks if this DateTime is in the same month and year as other.

Implementation

bool isSameMonthAs(DateTime other) => isAtSameMonthAs(other);