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

Native (Kotlin): add missing range checks #11

Merged
merged 4 commits into from
Jun 16, 2020
Merged

Conversation

dkhalanskyjb
Copy link
Collaborator

No description provided.

@dkhalanskyjb dkhalanskyjb requested a review from ilya-g June 8, 2020 08:06
Base automatically changed from Instant.epochSeconds to master June 11, 2020 17:03
Before, Instant did use nanosecond precision internally, and it
could be accessed by adding or substracting time periods or
constructing a new Instant by parsing a string with a nanosecond
component. Now, all the internal state of an `Instant` is more
easily accessible.
There are some constructors that were only invoked internally and
in such ways that the argument requirements could not be violated.
However, just in case we ever accidentally use these constructors
in a non-safe way, it's probably a good idea to have these checks
work correctly, given that they are not expensive.
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.

2 participants