Changes to naive::internals to enable more const functions#882
Changes to naive::internals to enable more const functions#882esheppa wants to merge 17 commits into
Conversation
fix mdf fix lints
|
Using struct DateImpl {
year: i16,
month: Month,
day: NonZeroU8,
}might be another option here, especially as requesting the day and month are probably more common than the ordinal. Either option also resolves #811 for |
|
@esheppa you alternative |
|
Yes I definitely thing this should be a Interestingly the impl with |
|
@esheppa You did a lot of work here. In #1043 (comment) you thought that there are parts here that can be useful since the alternative approach in #1043 was merged? |
|
Closing for now. Any follow up work is probably going to be a new PR anyway. |
Not ready for review yet. I've just pushed the code to enable some discussions on #815