The OpenD Programming Language

YearQuarter.daysInMonth

The last day in the month that this Date is in.

struct YearQuarter
@property const @safe pure nothrow @nogc
ubyte
daysInMonth

Examples

auto yq = YearQuarter(2020, Quarter.q3);
assert(yq.daysInMonth == 31);
assert(yq.daysInMonth(AssumePeriod.end) == 30);

Meta