Class: Wx::LocaleInfo

Inherits:
Enum
  • Object
show all
Defined in:
lib/wx/doc/gen/locale.rb

Overview

The values understood by Wx::Locale.get_info.

Note that for the wxLOCALE_*_FMT constants (the date and time formats), the strings returned by Wx::Locale.get_info use strftime() or, equivalently, Wx::DateTime#format format. If the relevant format couldn't be determined, an empty string is returned there is no fallback value so that the application could determine the best course of actions itself in such case. All of these values are used with Wx::LocaleCategory::LOCALE_CAT_DATE in Wx::Locale.get_info or, more typically, with Wx::LocaleCategory::LOCALE_CAT_DEFAULT as they only apply to a single category.

See Also:

  • UILocale#get_info

Requires:

  • USE_INTL

Constant Summary collapse

LOCALE_THOUSANDS_SEP =

The thousands separator.

Wx::LocaleInfo.new(0)
LOCALE_DECIMAL_POINT =

The character used as decimal point.

Wx::LocaleInfo.new(1)
LOCALE_SHORT_DATE_FMT =

Short date format.

Wx::LocaleInfo.new(2)
LOCALE_LONG_DATE_FMT =

Long date format.

Wx::LocaleInfo.new(3)
LOCALE_DATE_TIME_FMT =

Date and time format.

Wx::LocaleInfo.new(4)
LOCALE_TIME_FMT =

Time format.

Wx::LocaleInfo.new(5)