The OpenD Programming Language

YearMonth.isAD

Whether the current year is a date in A.D.

struct YearMonth
nothrow @property const @safe pure nothrow @nogc
bool
isAD
()

Examples

assert(YearMonth(2020, Month.jan).isAD == true);

Meta