The OpenD Programming Language

YearMonth.endOfMonth

struct YearMonth
const nothrow @property @nogc @safe pure
Date
endOfMonth
()

Examples

assert(YearMonth(2000, Month.dec).endOfMonth == Date(2000, Month.dec, 31));

Meta