ChronoUnit values() method in Java with Examples
The values() method of ChronoUnit enum is used to an array containing the units of this ChronoUnit, in the order, they are declared. Syntax: public static ChronoUnit[] values()Parameters: NA Return value: This method returns an array containing the constants of this enum type, in the order, they are