Uses of Class

Packages that use Duration
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.
This package provides classes to create events and control Flight Recorder.
This package contains classes for consuming Flight Recorder data.
This package contains classes to control and monitor Flight Recorder over Java Management Extensions (JMX).