isFirstDayOfMonth method

bool isFirstDayOfMonth()

Checks if this DateTime is the first day of the month.

Implementation

bool isFirstDayOfMonth() {
  return day == 1;
}