Skip to content

Common: add Instant.fromEpochSeconds(Long, Int) #46

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

Merged
merged 4 commits into from
Sep 11, 2020

Conversation

dkhalanskyjb
Copy link
Collaborator

This overload allows to pass an Int as the number of nanoseconds.

@dkhalanskyjb dkhalanskyjb requested a review from ilya-g September 4, 2020 10:02
* This returns {@code -1} for {@code floorDiv(-2, 4)}.<br />
* This returns {@code -1} for {@code floorDiv(-3, 4)}.<br />
* This returns {@code -1} for {@code floorDiv(-4, 4)}.<br />
* This returns {@code -2} for {@code floorDiv(-5, 4)}.<br />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do not use {@code} and <br> tags in kdocs.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed, and also removed such constructs where they were copied from.

@dkhalanskyjb dkhalanskyjb merged commit ad8551b into master Sep 11, 2020
@dkhalanskyjb dkhalanskyjb deleted the instantFromSecondsInt branch September 11, 2020 07:47
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