Packages

  • package root
    Definition Classes
    root
  • package csw
    Definition Classes
    root
  • package time
    Definition Classes
    csw
  • package core

    This module provides Time Service APIs to access time in Coordinated Universal Time (UTC) and International Atomic Time (TAI) time scales with up to nano second precision when available.

    This module provides Time Service APIs to access time in Coordinated Universal Time (UTC) and International Atomic Time (TAI) time scales with up to nano second precision when available.

    In order to access current UTC or TAI Time, one could use the TMTTime API.

    val utcTime: UTCTime = UTCTime.now() // gets current UTC time
    utcTime.toTAI // converts the given UTCTime instance to TAI timescale

    Similar APIs are available for TAI timescale.

    val taiTime: TAITime = TAITime.now() // gets current TAI time
    taiTime.toUTC // converts the given TAITime instance to UTC timescale
    Definition Classes
    time
  • package models
    Definition Classes
    core
  • TMTTimeHelper
o

csw.time.core

TMTTimeHelper

object TMTTimeHelper

This API allows users to get a representation of csw.time.core.models.TMTTime in a specific Time Zone, returned as a java.time.ZonedDateTime.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TMTTimeHelper
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
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 def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def atHawaii(tmtTime: TMTTime): ZonedDateTime

    Combines the csw.time.core.models.TMTTime with the Hawaii timezone to get a java.time.ZonedDateTime.

    Combines the csw.time.core.models.TMTTime with the Hawaii timezone to get a java.time.ZonedDateTime.

    returns

    time at the Hawaii-Aleutian Standard Time (HST) zone

  6. def atLocal(tmtTime: TMTTime): ZonedDateTime

    Combines the csw.time.core.models.TMTTime with the Local timezone to get a java.time.ZonedDateTime.

    Combines the csw.time.core.models.TMTTime with the Local timezone to get a java.time.ZonedDateTime. Local timezone is the system's default timezone.

    returns

    time at the Local zone

  7. def atZone(tmtTime: TMTTime, zoneId: ZoneId): ZonedDateTime

    Combines the csw.time.core.models.TMTTime with the given timezone to get a java.time.ZonedDateTime

    Combines the csw.time.core.models.TMTTime with the given timezone to get a java.time.ZonedDateTime

    zoneId

    id of the required zone

    returns

    time at the given zone

  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  18. def toString(): String
    Definition Classes
    AnyRef → Any
  19. def toZonedDateTime(tmtTime: TMTTime): ZonedDateTime

    Converts the csw.time.core.models.TMTTime instance to java.time.ZonedDateTime by adding 0 offset of UTC timezone.

    Converts the csw.time.core.models.TMTTime instance to java.time.ZonedDateTime by adding 0 offset of UTC timezone.

    returns

    zoned representation of the TMTTime

  20. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  21. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Ungrouped