Uses of Enum Class
java.time.temporal.ChronoUnit
Package
Description
Access to date and time using fields and units, and date time adjusters.
Utility classes commonly useful in concurrent programming.
-
Uses of ChronoUnit in java.time.temporal
Modifier and TypeMethodDescriptionstatic ChronoUnit
Returns the enum constant of this class with the specified name.static ChronoUnit[]
ChronoUnit.values()
Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of ChronoUnit in java.util.concurrent
Modifier and TypeMethodDescriptionTimeUnit.toChronoUnit()
Converts thisTimeUnit
to the equivalentChronoUnit
.Modifier and TypeMethodDescriptionstatic TimeUnit
TimeUnit.of
(ChronoUnit chronoUnit) Converts aChronoUnit
to the equivalentTimeUnit
.