Check if a date is in the first half of the month (1-15)
static bool isFirstHalfOfMonth(DateTime date) { return date.day <= 15; }