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 rounding operators #80

Merged
merged 2 commits into from
Jun 30, 2020
Merged

Add rounding operators #80

merged 2 commits into from
Jun 30, 2020

Conversation

erikc5000
Copy link
Owner

All date-time primitives can now be rounded up, down, or half-up to the nearest unit or increment of a unit. The existing truncation operators have deprecated and replaced with truncatedTo(unit), which is a synonym for roundedDownTo(unit).

@erikc5000 erikc5000 merged commit 4b07b6f into master Jun 30, 2020
@erikc5000 erikc5000 deleted the rounding-operators branch June 30, 2020 01: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.

1 participant