Retrieves the default unit for a given measure in a specified unit system.
The measure for which to get the default unit.
The unit system in which to find the default unit.
The default unit for the specified measure and system.
Retrieves the default number of decimal places for a unit in a given measure and system.
The measure to consider.
The unit system in which the unit is defined.
Optional unit: stringOptional specific unit to consider.
The number of decimal places for the unit.
Readonly idUnique identifier for the region model instance.
Readonly defaultThe default unit system (e.g., metric or imperial) for the region.
Readonly selectedThe currently selected unit system.
Readonly selectedThe currently selected time format as a string.
Readonly selectedThe currently selected date format as a string.
Readonly selectedThe order of date elements (e.g., day/month/year) for the selected format.
Readonly selectedThe currently selected country.
Readonly selectedThe currently selected time zone.
The detailed information of the selected region, extended with additional data.
The type of additional data is determined by the generic parameter AdditionalData.
Flag indicating if the 12-hour time format (AM/PM) is used.
An array of available regions as strings.
Identifier of the region.
An array of available time zones as strings.
An array of all available time zones as strings.
Readonly timeTime format options available for selection.
Readonly dateDate format options available for selection.
Readonly unitUnit system options available for selection.
Region Info Model - Comprehensive regional localization and unit conversion system for KOS applications.
This singleton model provides centralized management of regional settings including time formats, date formats, unit systems, time zones, and intelligent unit conversion. Essential for building internationally-aware applications that adapt to local preferences and measurement standards.
Key Features
Unit Conversion System
The model provides intelligent unit conversion between different measurement systems:
Example: Basic Usage
Use Declared Type
See