UTCTime

csw.time.core.models.UTCTime
See theUTCTime companion class
object UTCTime

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
UTCTime.type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def after(duration: FiniteDuration): UTCTime
def now(): UTCTime

Obtains the PTP (Precision Time Protocol) synchronized current UTC time. In case of a Linux machine, this will make a native call clock_gettime inorder to get time from the system clock with nanosecond precision. In case of all the other operating systems, nanosecond precision is not supported, hence no native call is made.

Obtains the PTP (Precision Time Protocol) synchronized current UTC time. In case of a Linux machine, this will make a native call clock_gettime inorder to get time from the system clock with nanosecond precision. In case of all the other operating systems, nanosecond precision is not supported, hence no native call is made.

Attributes

Returns

current time in UTC scale