inMonth method

bool inMonth(
  1. DateMonth month
)

Implementation

bool inMonth(DateMonth month) =>
    year == month.year && this.month == month.month;