Changing $begin_weekday to a constant so the class can be used statically (this may break backward compatability with your scripts), use of the static method of the class in all examples, and four new funtions (nextDayOfWeek, prevDayOfWeek, extDayOfWeekOnOrAfter, and nextDayOfWeekOnOrBefore).