package cordova-plugin-globalization

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type format_length =
  1. | Short
  2. | Medium
  3. | Long
  4. | Full
type selector =
  1. | Date
  2. | Time
  3. | Date_and_time
type options_date = private Ojs.t
val create_options_date : ?format_length:format_length -> ?selector:selector -> unit -> options_date
type date_names_type =
  1. | Wide
  2. | Narrow
type date_names_item =
  1. | Months
  2. | Days
type options_date_names = private Ojs.t
val create_options_date_names : ?type_:date_names_type -> ?item:date_names_item -> unit -> options_date_names
type number_type =
  1. | Decimal
  2. | Percent
  3. | Currency
type options_number_pattern = private Ojs.t
val create_options_number_pattern : ?type_:number_type -> unit -> options_number_pattern
type number_pattern = private Ojs.t
val number_pattern : number_pattern -> string
val number_pattern_symbol : number_pattern -> string
val number_pattern_fraction : number_pattern -> int
val number_pattern_rounding : number_pattern -> int
val number_pattern_positive : number_pattern -> string
val number_pattern_negative : number_pattern -> string
val number_pattern_decimal : number_pattern -> string
val number_pattern_grouping : number_pattern -> string
type date_pattern = private Ojs.t
val date_pattern : date_pattern -> string
val date_pattern_timezone : date_pattern -> string
val date_pattern_utc_offset : date_pattern -> int
val date_pattern_dst_offset : date_pattern -> int
type boolean = private Ojs.t
val boolean_dst : boolean -> bool
type l_string = private Ojs.t
val string_value : l_string -> string
type number = private Ojs.t
val number_value : number -> float
type string_array = private Ojs.t
val string_array_value : string_array -> string array
type currency_pattern = private Ojs.t
val currency_pattern : currency_pattern -> string
val currency_pattern_code : currency_pattern -> string
val currency_pattern_fraction : currency_pattern -> int
val currency_pattern_rounding : currency_pattern -> int
val currency_pattern_decimal : currency_pattern -> string
val currency_pattern_grouping : currency_pattern -> string
type date = private Ojs.t
val date_year : date -> int
val date_month : date -> int
val date_day : date -> int
val date_hour : date -> int
val date_minute : date -> int
val date_second : date -> int
val date_millisecond : date -> int
val get_preferred_language : (l_string -> unit) -> (unit -> unit) -> unit
val get_locale_name : (l_string -> unit) -> (unit -> unit) -> unit
val date_to_string : Js_date.t -> (l_string -> unit) -> (unit -> unit) -> ?options:options_date -> unit -> unit
val get_currency_pattern : string -> (currency_pattern -> unit) -> (unit -> unit) -> unit
val get_date_names : (string_array -> unit) -> (unit -> unit) -> options_date_names -> unit
val get_date_pattern : (date_pattern -> unit) -> (unit -> unit) -> ?options:options_date -> unit -> unit
val get_first_day_of_week : (number -> unit) -> (unit -> unit) -> unit
val get_number_pattern : (number -> unit) -> (unit -> unit) -> ?options:options_number_pattern -> unit -> unit
val is_day_light_savings_time : Js_date.t -> (boolean -> unit) -> (unit -> unit) -> unit
val number_to_string : int -> (l_string -> unit) -> (unit -> unit) -> number_type -> unit
val string_to_number : int -> (number -> unit) -> (unit -> unit) -> number_type -> unit
val string_to_date : string -> (date -> unit) -> (unit -> unit) -> options_date -> unit
OCaml

Innovation. Community. Security.