Returns the number of days in the month represented by this YearMonth.
assert(YearMonth(2000, Month.dec).lengthOfMonth == 31);
Returns the number of days in the month represented by this YearMonth.