是否同年同月
static bool yearAndMonthIsEqual(DateTime dateTime, DateTime locDateTime) { return dateTime.year == locDateTime.year && dateTime.month == locDateTime.month; }