Open tisonkun opened 2 months ago
No, it isn't possible. We should add that guarantee to the docs. And for other similar methods like day
.
But it is mentioned in the constructor for civil::Date
: https://docs.rs/jiff/latest/jiff/civil/struct.Date.html#method.new
Hi @BurntSushi.
I noticed that
month
method is defined as:I wonder if it's possible month is negative or out of
1..=12
?