-
Is there a way to get the number of days within a given month? Not sure if this is out-of-scope for the library but I was hoping for an enum named If this is in-scope and just not part of the API, I'd be happy to create a PR :) Edit: I just saw that there is a weekday enum already, maybe this is in-scope after all. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
There's currently no public API to do this. There is an internal method that does exactly this, but it relies on valid input (it panics if invalid). I've considered adding a method that returns I have looked into creating an |
Beta Was this translation helpful? Give feedback.
-
Just FYI there is a |
Beta Was this translation helpful? Give feedback.
Just FYI there is a
Month
enum in the newly-release v0.3.0.