DateTime.month

Month month() @property const @safe pure nothrow @nogc

Month of a Gregorian Year.

void month(Month month) @property @safe pure

Month of a Gregorian Year.

Parameters

monthThe month to set this DateTime's month to.

Throws

DateTimeException if the given month is

not a valid month.