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

Re-work clock implementation #118

Merged
merged 4 commits into from
Aug 5, 2020
Merged

Re-work clock implementation #118

merged 4 commits into from
Aug 5, 2020

Conversation

erikc5000
Copy link
Owner

The new clock implementation takes advantage of java.time APIs that couldn't be supported in the core before desugaring became available on Android. Precision is increased up to the nanosecond -- assuming the platform supports it. Newer JDK versions and Darwin can take advantage of this.

It's now possible to convert between java.time's Clock type and Island Time's Clock type.

Close #6.

@erikc5000 erikc5000 merged commit 2fb942e into master Aug 5, 2020
@erikc5000 erikc5000 deleted the nano-clock branch August 5, 2020 14:56
erikc5000 added a commit that referenced this pull request Aug 16, 2020
* Re-work the clock implementation on JVM

* Re-work new clock implementation to handle Darwin

* Minor clean up
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.

Add nanosecond-precision clock
1 participant