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

toComponents() is inconsistent between Duration and duration unit classes #9

Open
erikc5000 opened this issue Oct 28, 2019 · 0 comments
Labels
design Design issue/question

Comments

@erikc5000
Copy link
Owner

Duration splits into just nanoseconds for the sub-second component. The individual unit clases like IntMilliseconds split into each applicable sub-second unit -- in this case, milliseconds.

Not sure if this is what one would expect. Could allow it to split into "seconds and nanoseconds" in addition to "seconds and milliseconds".

@erikc5000 erikc5000 added the design Design issue/question label Oct 28, 2019
@erikc5000 erikc5000 changed the title toComponents {} is inconsistent between Duration and unit classes toComponents() is inconsistent between Duration and duration unit classes Oct 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design Design issue/question
Projects
None yet
Development

No branches or pull requests

1 participant