The OpenD Programming Language

YearMonth.trustedWithDayOfMonth

struct YearMonth
const @safe pure nothrow @nogc
Date
trustedWithDayOfMonth
(
int days
)

Examples

auto ym = YearMonth(2000, Month.nov);
assert(ym.trustedWithDayOfMonth(6) == Date(2000, 11, 6));

Meta