Propagate the new yearmonth, yearmonthday accessors throughout the code. Also rename _lastdayinmonth to daysinmonth and export it
General optimizations/shortcuts for date functions.