The OpenD Programming Language

YearQuarter.isLeapYear

Whether this Date is in a leap year.

struct YearQuarter
@property const @safe pure nothrow @nogc
bool
isLeapYear
()

Examples

assert(YearQuarter(1999, cast(Quarter) 4).isLeapYear == false);
assert(YearQuarter(2000, cast(Quarter) 4).isLeapYear == true);

Meta