Check if a date is in the first quarter of the year
static bool isFirstQuarter(DateTime date) { return date.month >= 1 && date.month <= 3; }