Skip to content

MessagePackTimestamp

[Source]

A decoded MessagePack timestamp. The sec field is the number of seconds since 1970-01-01 00:00:00 UTC (can be negative for dates before the epoch). The nsec field is the nanoseconds component (0 to 999999999).

class val MessagePackTimestamp

Constructors

create

[Source]

new val create(
  sec': I64 val,
  nsec': U32 val)
: MessagePackTimestamp val^

Parameters

  • sec': I64 val
  • nsec': U32 val

Returns


Public fields

let sec: I64 val

[Source]


let nsec: U32 val

[Source]