Closed as not planned
Description
It would make sense to have a common utility to parse java.time.Duration
from a CharSequence
.
Examples:
10ms
-> 10 milliseconds10s
-> 10 seconds10m
-> 10 minutes10h
-> 10 hours
ChronoUnit
s to support:
- Nanos
- Micros
- Millis
- Seconds
- Minutes
- Hours
- Days
Spring Boot provides this functionality and we'd like to reuse it in Spring Data.