Returns the year and quarter of a date as a YearQuarter value.
auto d = Date(2020, Month.may, 31); auto yq = d.yearQuarter; assert(yq.year == 2020); assert(yq.quarter == Quarter.q2);
Returns the year and quarter of a date as a YearQuarter value.