The OpenD Programming Language

YearMonth.lengthOfMonth

struct YearMonth
const pure nothrow @property @nogc @safe
ushort
lengthOfMonth
()

Examples

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

Meta