Additional date/time functions, including startOfWeek and getDaysInMonth, plus tests.