Module Values.TimeInNanosSource

Contains a timestamp with optional nanosecond granularity.

Sourcetype nonrec t = {
  1. timeInSeconds : TimeInSeconds.t;
    (*

    The timestamp date, in seconds, in the Unix epoch format. Fractional nanosecond data is provided by offsetInNanos.

    *)
  2. offsetInNanos : OffsetInNanos.t option;
    (*

    The nanosecond offset from timeInSeconds.

    *)
}
Sourceval context_ : string
Sourceval make : ?offsetInNanos:??? -> timeInSeconds:TimeInSeconds.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of OffsetInNanos.t | `Long of TimeInSeconds.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t