TimeUnit

org.abh80.nf.core.time.TimeUnit
enum TimeUnit

Represents different units of time measurement in descending order of magnitude.

This enum provides various time units from days down to attoseconds, allowing for precise time measurements and conversions across different scales.

Attributes

Graph
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Type members

Enum entries

case ATTOSECONDS extends TimeUnit

Represents time in attoseconds (1/1,000,000,000,000,000,000 of a second)

Represents time in attoseconds (1/1,000,000,000,000,000,000 of a second)

Attributes

case DAYS extends TimeUnit

Represents time in days (86,400 seconds)

Represents time in days (86,400 seconds)

Attributes

case FEMTOSECONDS extends TimeUnit

Represents time in femtoseconds (1/1,000,000,000,000,000 of a second)

Represents time in femtoseconds (1/1,000,000,000,000,000 of a second)

Attributes

case HOURS extends TimeUnit

Represents time in hours (3,600 seconds)

Represents time in hours (3,600 seconds)

Attributes

case MICROSECONDS extends TimeUnit

Represents time in microseconds (1/1,000,000 of a second)

Represents time in microseconds (1/1,000,000 of a second)

Attributes

case MILLISECONDS extends TimeUnit

Represents time in milliseconds (1/1,000 of a second)

Represents time in milliseconds (1/1,000 of a second)

Attributes

case MINUTES extends TimeUnit

Represents time in minutes (60 seconds)

Represents time in minutes (60 seconds)

Attributes

case NANOSECONDS extends TimeUnit

Represents time in nanoseconds (1/1,000,000,000 of a second)

Represents time in nanoseconds (1/1,000,000,000 of a second)

Attributes

case PICOSECONDS extends TimeUnit

Represents time in picoseconds (1/1,000,000,000,000 of a second)

Represents time in picoseconds (1/1,000,000,000,000 of a second)

Attributes

case SECONDS extends TimeUnit

Represents time in seconds

Represents time in seconds

Attributes