The OpenD Programming Language

YearMonth.daysInMonth

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

struct YearMonth
nothrow @property const @safe pure nothrow @nogc
ubyte
daysInMonth
()

Examples

assert(YearMonth(2020, Month.dec).daysInMonth == 31);

Meta