Open
Description
"I have a date or a time, and I want to round/adjust it."
Examples:
- Find the last time it was Monday (or Sunday) not later than the given date: Allow getting the week number of a LocalDate and a LocalDateTime #129 (comment)
- Given the local time, find the 1-hour slot it matches (13:45:12.513 -> 13:00:00.000): set hours of LocalDateTime #223 (comment)
- Discard the sub-minute components when formatting a
Duration
: Feature Request: truncateTo for LocalTime #225 (comment) (can also be solved by tweaking the formatter). - Find the next time a given day of the week happens: Add an equivalent of TemporalAdjusters #235 (comment)
- Internally, we need functions like "find the last Sunday in the given month" to calculate the moments when timezone transitions happen.
Metadata
Metadata
Assignees
Labels
No labels