Module Values.DatetimeRangeSource

Describes a time range, in ISO8601-UTC format.

Sourcetype nonrec t = {
  1. begin_ : ISO8601DateTime.t;
    (*

    Start of the time range.

    *)
  2. end_ : ISO8601DateTime.t option;
    (*

    End of the time range.

    *)
}
Sourceval context_ : string
Sourceval make : ?end_:??? -> begin_:ISO8601DateTime.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of ISO8601DateTime.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