is_first_of_quarter(), is_last_of_quarter(), is_first_of_year() and
is_last_of_year() check whether a Date is the first or respectively the
last day of a quarter/year. is_quarter_bounds() and is_year_bounds checks
whether two Date vectors mark the bounds of (the same) quarters