Add support for parsing weekdays and week numbers.

Also includes support for parsing "%" literals.