Implemented a weekdayToNumberConverter.