OcaTimePTP

class OcaTimePTP()

An absolute or relative PTP time. Format is standard PTP format: - 48 bit integer seconds - 32 bit integer nanoseconds PLUS a boolean sign (positive=TRUE) field. Absolute times are always positive. Relative times may be positive or negative.

OcaTimePTP.Negative

type: boolean

TRUE if and only if time value is negative. Absolute times are always positive.

OcaTimePTP.Seconds

type: number|BigInt

48 bits of seconds

OcaTimePTP.Nanoseconds

type: number

32 bits of nano seconds