Change of DayOfMonth.now and DayOfYear.now to produce the type of the containing class

DayOfMonth.now and DayOfYear.now appear to be an accidental copy of Year.now.