Uses of Class
java.time.Duration

Packages that use Duration
Package
Description
Provides classes that are fundamental to the design of the Java programming language.
HTTP Client and WebSocket APIs
The main API for dates, times, instants, and durations.
Access to date and time using fields and units, and date time adjusters.
Support for time-zones and their rules.
Utility classes commonly useful in concurrent programming.