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

Replace dayOfMonth with day and monthNumber with month #387

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

dkhalanskyjb
Copy link
Contributor

monthNumber is still called that in the formatting facilities to distinguish monthNumber from monthName, and also in DateTimeComponents because monthNumber can contain out-of-bounds data and is useful even aside from being a view of Month.

Fixes #84

Blocked by an IDE bug:
https://youtrack.jetbrains.com/issue/KTIJ-29647/ReplaceWith-of-properties-just-erases-code

@dkhalanskyjb dkhalanskyjb force-pushed the rename-dayOfMonth-and-monthNumber branch from 6a1c97a to a07cb8d Compare May 27, 2024 08:25
`monthNumber` is still called that in the formatting facilities
to distinguish `monthNumber` from `monthName`, and also in
`DateTimeComponents` because `monthNumber` can contain
out-of-bounds data and is useful even aside from being a view of
`Month`.

Fixes #84

Blocked by an IDE bug:
<https://youtrack.jetbrains.com/issue/KTIJ-29647/ReplaceWith-of-properties-just-erases-code>
@dkhalanskyjb dkhalanskyjb force-pushed the rename-dayOfMonth-and-monthNumber branch from a07cb8d to 8885ea5 Compare May 27, 2024 08:27
@dkhalanskyjb dkhalanskyjb marked this pull request as ready for review May 27, 2024 09:51
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.

Simplify LocalDate(Time) constructor parameter names
1 participant