codes.reactive.scalatime

ChronoUnit

object ChronoUnit extends ChronoUnits

Provides a standard set of date period units as TemporalUnit instances.

Source
Chrono.scala
Linear Supertypes
ChronoUnits, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ChronoUnit
  2. ChronoUnits
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. final val Centuries: org.threeten.bp.temporal.ChronoUnit(CENTURIES)

    ChronoUnit representing the concept of a century.

    ChronoUnit representing the concept of a century. For the ISO calendar system, equal to 100 years.

    Definition Classes
    ChronoUnits
    See also

    CENTURIES

  5. final val Days: org.threeten.bp.temporal.ChronoUnit(DAYS)

    ChronoUnit representing the concept of a day.

    ChronoUnit representing the concept of a day. For the ISO calendar system, equal to the standard day from midnight to midnight. The estimated duration of a day is 24 Hours.

    Non ISO Calendar Systems

    When used with other calendar systems a Day must correspond to the day defined by the rising and setting of the Sun on Earth.

    It is not required that days begin at midnight; however the date should be equivalent at midday.

    Definition Classes
    ChronoUnits
    See also

    DAYS

  6. final val Decades: org.threeten.bp.temporal.ChronoUnit(DECADES)

    ChronoUnit representing the concept of a decade.

    ChronoUnit representing the concept of a decade. For the ISO calendar system, equal to 10 years.

    Non ISO Calendar Systems

    When used with other calendar systems Decades must correspond to an integral number of days, and is normally an integral number of years.

    Definition Classes
    ChronoUnits
    See also

    DECADES

  7. final val Eras: org.threeten.bp.temporal.ChronoUnit(ERAS)

    ChronoUnit representing the concept of an era.

    ChronoUnit representing the concept of an era. The ISO calendar system doesn't have eras thus it is impossible to add an era to a date or date-time. The estimated duration of the era is artificially defined as 1,000,000,000 Years.

    Definition Classes
    ChronoUnits
    See also

    ERAS

  8. final val Forever: org.threeten.bp.temporal.ChronoUnit(FOREVER)

    ChronoUnit representing the concept of Forever.

    ChronoUnit representing the concept of Forever. This is primarily used with TemporalField to represent unbounded fields such as the year or era. The estimated duration of the era is artificially defined as the largest duration supported by Duration.

    Definition Classes
    ChronoUnits
    See also

    FOREVER

  9. final val HalfDays: org.threeten.bp.temporal.ChronoUnit(HALF_DAYS)

    ChronoUnit representing the concept of half a day, as used in AM/PM.

    ChronoUnit representing the concept of half a day, as used in AM/PM. For the ISO calendar system, equal to 12 hours.

    Definition Classes
    ChronoUnits
    See also

    HALF_DAYS

  10. final val Hours: org.threeten.bp.temporal.ChronoUnit(HOURS)

    ChronoUnit representing the concept of an hour.

    ChronoUnit representing the concept of an hour. For the ISO calendar system, equal to 60 minutes.

    Definition Classes
    ChronoUnits
    See also

    HOURS

  11. final val Micros: org.threeten.bp.temporal.ChronoUnit(MICROS)

    ChronoUnit representing the concept of a microsecond.

    ChronoUnit representing the concept of a microsecond. For the ISO calendar system, equal to the 1,000,000th part of the second unit.

    Definition Classes
    ChronoUnits
    See also

    MICROS

  12. final val Millenia: org.threeten.bp.temporal.ChronoUnit(MILLENNIA)

    ChronoUnit representing the concept of a millenium.

    ChronoUnit representing the concept of a millenium. For the ISO calendar system, equal to 1000 years.

    Non ISO Calendar Systems

    When used with other calendar systems it must correspond to an integral number of days and is normally an integral number of years.

    Definition Classes
    ChronoUnits
    See also

    MILLENIA

  13. final val Millis: org.threeten.bp.temporal.ChronoUnit(MILLIS)

    ChronoUnit representing the concept of a millisecond.

    ChronoUnit representing the concept of a millisecond. For the ISO calendar system, equal to the 1,000th part of the second unit.

    Definition Classes
    ChronoUnits
    See also

    MILLIS

  14. final val Minutes: org.threeten.bp.temporal.ChronoUnit(MINUTES)

    ChronoUnit representing the concept of a minute.

    ChronoUnit representing the concept of a minute. For the ISO calendar system, equal to the 60 seconds.

    Definition Classes
    ChronoUnits
    See also

    MINUTES

  15. final val Months: org.threeten.bp.temporal.ChronoUnit(MONTHS)

    ChronoUnit representing the concept of a month.

    ChronoUnit representing the concept of a month. For the ISO calendar system, the length of the month varies by month-of-year. The estimated duration of a month is one twelfth of 365.2425 Days.

    Non ISO Calendar Systems

    When used with other calendar systems it must correspond to an integral number of days.

    Definition Classes
    ChronoUnits
    See also

    MONTHS

  16. final val Nanos: org.threeten.bp.temporal.ChronoUnit(NANOS)

    ChronoUnit representing the concept of a nanosecond, the smallest supported unit of time.

    ChronoUnit representing the concept of a nanosecond, the smallest supported unit of time. For the ISO calendar system, equal to the 1,000,000,000th part of the second unit.

    Definition Classes
    ChronoUnits
    See also

    NANOS

  17. final val Seconds: org.threeten.bp.temporal.ChronoUnit(SECONDS)

    ChronoUnit representing the concept of a second.

    ChronoUnit representing the concept of a second. For the ISO calendar system, equal to the second in the SI system of units, except around a leap-second.

    Definition Classes
    ChronoUnits
    See also

    SECONDS

  18. final val Weeks: org.threeten.bp.temporal.ChronoUnit(WEEKS)

    ChronoUnit representing the concept of a week.

    ChronoUnit representing the concept of a week. For the ISO calendar system, equal to 7 days.

    Non ISO Calendar Systems

    When used with other calendar systems it must correspond to an integral number of days.

    Definition Classes
    ChronoUnits
    See also

    WEEKS

  19. final val Years: org.threeten.bp.temporal.ChronoUnit(YEARS)

    ChronoUnit representing the concept of a year.

    ChronoUnit representing the concept of a year. For the ISO calendar system, equal to 12 months. The estimated duration of a year is 365.2425 Days.

    Non ISO Calendar Systems

    When used with other calendar systems it must correspond to an integral number of days or months roughly equal to a year defined by the passage of the Earth around the Sun.

    Definition Classes
    ChronoUnits
    See also

    YEARS

  20. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  21. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  23. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  24. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  25. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  26. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  27. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  28. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  29. final def notify(): Unit

    Definition Classes
    AnyRef
  30. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  32. def toString(): String

    Definition Classes
    AnyRef → Any
  33. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ChronoUnits

Inherited from AnyRef

Inherited from Any

Ungrouped