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 conversion between NimbleTimeInterval and the relatively new Duration API #1058

Closed
wants to merge 2 commits into from

Conversation

younata
Copy link
Member

@younata younata commented May 28, 2023

Adds the ability to easily convert between NimbleTimeInterval and the Duration struct introduced last year.

This does lose precision when the duration is meant to have sub-nanosecond precision. I highly doubt this will affect Nimble's use case.

@younata younata force-pushed the add_NimbleTimeInterval_to_Duration branch from acfcc81 to 529efe1 Compare July 13, 2023 05:29
@younata younata force-pushed the add_NimbleTimeInterval_to_Duration branch from 529efe1 to 1f93d6b Compare July 13, 2023 15:00
@younata younata closed this Sep 19, 2023
@younata younata deleted the add_NimbleTimeInterval_to_Duration branch September 19, 2023 16:08
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