Added 'weekday' predicate, and support with parseWeekdayToInt function