Month

Represents the 12 months of the Gregorian year (January is 1).

Values

ValueMeaning
jan1
feb
mar
apr
may
jun
jul
aug
sep
oct
nov
dec

Examples

assert(Date(2018, 10, 1).month == Month.oct);
assert(DateTime(1, 1, 1).month == Month.jan);

Meta