Companion

object Companion

Properties

Link copied to clipboard
val CENTURY: DateTimeUnit.MonthBased

A century, which is 100 years, or 1200 months.

Link copied to clipboard
val DAY: DateTimeUnit.DayBased

A calendar day.

Link copied to clipboard
val HOUR: DateTimeUnit.TimeBased

An hour, which is 60 minutes, or 3600 seconds.

Link copied to clipboard
val MICROSECOND: DateTimeUnit.TimeBased

A microsecond, which is 1/1_000_000 of a second, or 1_000 nanoseconds.

Link copied to clipboard
val MILLISECOND: DateTimeUnit.TimeBased

A millisecond, which is 1/1_000 of a second, or 1_000_000 nanoseconds.

Link copied to clipboard
val MINUTE: DateTimeUnit.TimeBased

A minute, which is 60 seconds.

Link copied to clipboard
val MONTH: DateTimeUnit.MonthBased

A month.

Link copied to clipboard
val NANOSECOND: DateTimeUnit.TimeBased

A nanosecond, which is 1/1_000_000_000 of a second.

Link copied to clipboard
val QUARTER: DateTimeUnit.MonthBased

A quarter, which is three months.

Link copied to clipboard
val SECOND: DateTimeUnit.TimeBased

A second.

Link copied to clipboard
val WEEK: DateTimeUnit.DayBased

A week, which is 7 calendar days.

Link copied to clipboard
val YEAR: DateTimeUnit.MonthBased

A year, which is 12 months.