YearQuarter.this

Constructs a YearQuarter from a year and quarter, year and month, Date, YearMonthDay, or Timestamp.

Examples

import mir.timestamp;
auto ts = Timestamp(2020, 4);
auto yq = YearQuarter(ts);