Module Values.DateTimeValueSource

Represents a point in time that can be specified as either an absolute date (for example, "2025-07-01") or a relative time period using ISO 8601 duration format (for example, "-P3M" for three months ago).

Sourcetype nonrec t = {
  1. type_ : DateTimeType.t;
    (*

    The type of date/time value: ABSOLUTE for specific dates or RELATIVE for dynamic time periods.

    *)
  2. value : GenericString.t;
    (*

    The actual date/time value.

    *)
}
Sourceval context_ : string
Sourceval make : type_:DateTimeType.t -> value:GenericString.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of GenericString.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