xtd 0.2.0
Loading...
Searching...
No Matches
globalization

Definition

Contains globalization objects.

Classes

class  xtd::globalization::culture_info
 Provides information about a specific culture (called a locale for unmanaged code development). The information includes the names for the culture, the writing system, the calendar used, the sort order of strings, and formatting for dates and numbers. More...
 
class  xtd::globalization::culture_not_found_exception
 The exception that is thrown when the key specified for accessing an element in a collection does not match any key in the collection. More...
 
class  xtd::globalization::date_time_format_info
 Provides culture-specific information about the format of date and time values. More...
 
class  xtd::globalization::number_format_info
 Provides culture-specific information about the format of numbers, currency, and percentages. More...
 
class  xtd::globalization::translator
 Represents translator class. This class cannot be inherited. More...
 

Enumerations

enum class  xtd::globalization::culture_types {
  xtd::globalization::culture_types::neutral_cultures ,
  xtd::globalization::culture_types::specific_cultures ,
  xtd::globalization::culture_types::installed_win32_cultures ,
  xtd::globalization::culture_types::all_cultures
}
 Defines the types of culture lists that can be retrieved using the xtd::globalization::culture_info::get_cultures method. More...
 

Enumeration Type Documentation

◆ culture_types

#include <xtd.core/include/xtd/globalization/culture_types.hpp>

Defines the types of culture lists that can be retrieved using the xtd::globalization::culture_info::get_cultures method.

Header
#include <xtd/globalization/culture_type>
Namespace
xtd
Library
xtd.core
Enumerator
neutral_cultures 

Cultures that are associated with a language but are not specific to a country/region.

specific_cultures 

Cultures that are specific to a country/region.

installed_win32_cultures 

This member is deprecated. All cultures that are installed in the Windows operating system.

all_cultures 

All cultures that are recognized by xtd, including neutral and specific cultures and custom cultures created by the user.

Remarks
On xtd running on Windows, Linux and macOS, it includes culture data defined in the ICU libraries.