Closed Kinrany closed 1 year ago
This is definitely doable with minimal effort. Once I get to documenting features that are on main
and cut a release, I can do this quite quickly.
I can probably help with a PR. Unless it's easier for you to just do it compared to reviewing code later.
Up to you! Either way it will be in a separate release.
Currently weekdays can be converted to numbers, with four options: zero-based/one-based and sunday-based/monday-based.
It would be convenient to have the reverse constructors: from a zero-based or one-based offset, for a sunday-based or monday-based week, create a Weekday value.