Java java.time.temporal ChronoUnit fields, constructors, methods, implement or subclass

Example usage for Java java.time.temporal ChronoUnit fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.time.temporal ChronoUnit.

The text is from its open source code.

Field

ChronoUnitNANOS
Unit that represents the concept of a nanosecond, the smallest supported unit of time.
ChronoUnitMICROS
Unit that represents the concept of a microsecond.
ChronoUnitMILLIS
Unit that represents the concept of a millisecond.
ChronoUnitSECONDS
Unit that represents the concept of a second.
ChronoUnitMINUTES
Unit that represents the concept of a minute.
ChronoUnitHOURS
Unit that represents the concept of an hour.
ChronoUnitHALF_DAYS
Unit that represents the concept of half a day, as used in AM/PM.
ChronoUnitDAYS
Unit that represents the concept of a day.
ChronoUnitWEEKS
Unit that represents the concept of a week.
ChronoUnitMONTHS
Unit that represents the concept of a month.
ChronoUnitYEARS
Unit that represents the concept of a year.
ChronoUnitFOREVER
Artificial unit that represents the concept of forever.

Method

longbetween(Temporal temporal1Inclusive, Temporal temporal2Exclusive)
DurationgetDuration()
Gets the estimated duration of this unit in the ISO calendar system.
StringtoString()