-
Notifications
You must be signed in to change notification settings - Fork 533
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes to naive::internals to enable more const functions #882
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