Returns a Date representing the last day of the month.
assert(YearMonth(2000, Month.dec).endOfMonth == Date(2000, Month.dec, 31));
Returns a Date representing the last day of the month.