Checks if day is in the first day of a month.
day
static bool isFirstDayOfMonth(DateTime day) { return day.day == 1; }