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

Revamp duration unit API #180

Merged
merged 9 commits into from
May 17, 2021
Merged

Revamp duration unit API #180

merged 9 commits into from
May 17, 2021

Conversation

erikc5000
Copy link
Owner

To make things simpler, the duration unit classes backed by Int have been removed, leaving only the Long versions, which are now renamed to Hours, Minutes, etc. This is a fairly significant change that may require some code adjustments.

Functions such as toComponentValues () have also been added to make it easier to get at non-unitized values.

Closes #11

@erikc5000 erikc5000 merged commit eb1d745 into master May 17, 2021
@erikc5000 erikc5000 deleted the duration-api-updates branch May 17, 2021 18:33
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.

Consider exposing only Long duration unit classes
1 participant