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.
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
- Alphabetic
- By Inheritance
- core
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
- 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.