Skip to content
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

Add week number and year properties #104

Merged
merged 2 commits into from
Jul 23, 2020
Merged

Add week number and year properties #104

merged 2 commits into from
Jul 23, 2020

Conversation

erikc5000
Copy link
Owner

This adds support for weekOfMonth, weekOfYear, weekBasedYear, weekOfWeekBasedYear, and lengthOfWeekBasedYear. Debated using weekYear instead of weekBasedYear, but it's likely that a YearWeek class will be introduced at some point, so that might get confusing.

Improved the code generation alongside this to make synchronized changes across the different date-time classes easier.

@erikc5000 erikc5000 merged commit d8385ef into master Jul 23, 2020
@erikc5000 erikc5000 deleted the week-properties branch July 23, 2020 00:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant