endOfQuarter

Date for the last day in the quarter that this Date is in.

@property const @safe pure nothrow @nogc
endOfQuarter
()

Examples

assert(Date(1999, 1, 6).endOfQuarter == Date(1999, 3, 31));
assert(Date(1999, 2, 7).endOfQuarter == Date(1999, 3, 31));
assert(Date(2000, 2, 7).endOfQuarter == Date(2000, 3, 31));
assert(Date(2000, 6, 4).endOfQuarter == Date(2000, 6, 30));

Meta