Uses of Class
java.time.temporal.ChronoUnit
Packages that use 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
Methods in java.time.temporal that return ChronoUnitModifier and TypeMethodDescriptionstatic ChronoUnitReturns the enum constant of this type with the specified name.static ChronoUnit[]ChronoUnit.values()Returns an array containing the constants of this enum type, in the order they are declared. -
Uses of ChronoUnit in java.util.concurrent
Methods in java.util.concurrent that return ChronoUnitModifier and TypeMethodDescriptionTimeUnit.toChronoUnit()Converts thisTimeUnitto the equivalentChronoUnit.Methods in java.util.concurrent with parameters of type ChronoUnitModifier and TypeMethodDescriptionstatic TimeUnitTimeUnit.of(ChronoUnit chronoUnit)Converts aChronoUnitto the equivalentTimeUnit.