Example usage for Java java.time.temporal ChronoUnit fields, constructors, methods, implement or subclass
The text is from its open source code.
ChronoUnit | NANOS Unit that represents the concept of a nanosecond, the smallest supported unit of time. |
ChronoUnit | MICROS Unit that represents the concept of a microsecond. |
ChronoUnit | MILLIS Unit that represents the concept of a millisecond. |
ChronoUnit | SECONDS Unit that represents the concept of a second. |
ChronoUnit | MINUTES Unit that represents the concept of a minute. |
ChronoUnit | HOURS Unit that represents the concept of an hour. |
ChronoUnit | HALF_DAYS Unit that represents the concept of half a day, as used in AM/PM. |
ChronoUnit | DAYS Unit that represents the concept of a day. |
ChronoUnit | WEEKS Unit that represents the concept of a week. |
ChronoUnit | MONTHS Unit that represents the concept of a month. |
ChronoUnit | YEARS Unit that represents the concept of a year. |
ChronoUnit | FOREVER Artificial unit that represents the concept of forever. |
long | between(Temporal temporal1Inclusive, Temporal temporal2Exclusive) |
Duration | getDuration() Gets the estimated duration of this unit in the ISO calendar system. |
String | toString() |