Module Values.LocaleSource

The Locale data structure represents a geographical region or location.

Sourcetype nonrec t = {
  1. country : CountryParameters.t;
    (*

    The country of the locale. Must be a valid ISO 3166 country code. For example, the code US refers to the United States of America.

    *)
  2. subdivision : CountryParameters.t option;
    (*

    The state or subdivision of the locale. A valid ISO 3166-2 subdivision code. For example, the code WA refers to the state of Washington.

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