|
Tizen Native API
5.0
|
The i18n module contains:
- uchar
- ucollator
- unormalization
- usearch
- ustring
- ucalendar
- udate
- udatepg
- ulocale
- unumber
- alpha_idx
- formattable
- measure unit
- measure
- format
- measure format
- field position
- parse position
- ushape
- utmscale
- ubidi
- uversion
- uchar iter
- plural rules
- plural format
- immutable_idx
- date interval
- date interval format
- simple date format
- locale display names
This module provides flexible generation of number or date format patterns and helps you format and parse dates/number for any locale. The i18n module provides various features based on data from ICU. The following table shows the version of ICU used in each Tizen platform.
| Tizen 2.3, 2.3.1, 2.4 | ICU 51 | CLDR 23 | Unicode 6.2 |
| Tizen 2.3.2, 3.0 | ICU 57 | CLDR 29 | Unicode 8.0 |
Required Header
#include <utils_i18n.h>
Overview
| API | Description | ||
|---|---|---|---|
| Timezone | The Timezone module represents a time zone offset, and also figures out daylight savings. | ||
| UEnumeration | UEnumeration defines functions for handling String Enumeration. | ||
| Ubrk | Ubrk module defines methods for finding the location of boundaries in text. | ||
| Ucollator | Ucollator module performs locale-sensitive string comparison. It builds searching and sorting routines for natural language text and provides correct sorting orders for most locales. | ||
| Uchar | Uchar module provides low-level access to the Unicode Character Database. | ||
| Unormalization | Unormalization module provides Unicode normalization functionality for standard unicode normalization. | ||
| Usearch | Usearch module provides language-sensitive text searching based on the comparison rules defined in a ucollator data struct. | ||
| Uset | Uset module allows to specify a subset of character used in strings. | ||
| Ustring | Ustring module provides general unicode string handling. | ||
| Ucalendar | Ucalendar is used for converting between a i18n_udate type and a set of integer fields such as I18N_UCALENDAR_YEAR, I18N_UCALENDAR_MONTH, I18N_UCALENDAR_DATE, I18N_UCALENDAR_HOUR, and so on. | ||
| Udate | Udate module consists of functions that convert dates and times from their internal representations to textual form and back again in a language-independent manner. | ||
| Udatepg | Udatepg module provides flexible generation of date format patterns, like "yy-MM-dd". | ||
| Ulocale | A ulocale represents a specific geographical, political, or cultural region. | ||
| Unumber | Unumber helps you format and parse numbers for any locale. | ||
| Alphabetic Index | Alpha_idx supports the creation of a UI index appropriate for a given language. | ||
| Formattable | Formattable interconverts between the primitive numeric types (double, long, etc.) as well as the i18n_udate and char string. | ||
| MeasureUnit | The MeasureUnit module contains units such as length, mass, volume, currency, etc... | ||
| Measure | The Measure module represents an amount of a specified unit, consisting of a number and a unit. | ||
| Format | The Format module represents the basic format object. | ||
| MeasureFormat | The Measure Format module represents a formatter for measure objects. | ||
| FieldPosition | The Field Position module is used to identify fields in a formatted output. | ||
| ParsePosition | The Parse Position module used by Format and its subclasses to keep track of the current position during parsing. | ||
| Ushape | Ushape module provides Arabic shaping functionality. | ||
| Utmscale | The Universal Time Scale | ||
| Ubidi | Ubidi module provides implementation of the Unicode Bidirectional Algorithm. | ||
| Uversion | Uversion module provides API for accessing ICU version numbers. | ||
| UChar Iterator | The Uchar Iterator module provides API for code unit iteration. | ||
| PluralRules | The Plural rules module Defines rules for mapping non-negative numeric values onto a small set of keywords. | ||
| PluralFormat | The Plural format module supports the creation of internationalized messages with plural inflection. | ||
| Immutable Index | The Immutable_idx is immutable, thread-safe version of Alpha_idx. | ||
| Date Interval | Date interval represents a date interval. | ||
| DateIntervalFormat | Date interval format module formats date intervals in a language-independent manner. | ||
| Simple Date Format | The Simple Date Format module provides API for formatting and parsing dates in language-independent manner. | Required Header | The locale display names module returns display names of Locales and components of Locales. |
Mapping Table
Defines | |
| #define | I18N_SENTINEL (-1) |
| This value is intended for sentinel values for APIs that take or return single code points (i18n_uchar32). | |
Define Documentation
| #define I18N_SENTINEL (-1) |
This value is intended for sentinel values for APIs that take or return single code points (i18n_uchar32).
It is outside of the Unicode code point range 0..0x10ffff. For example, a "done" or "error" value in a new API could be indicated with I18N_SENTINEL.
- Since :
- 4.0
Enumeration Type Documentation
| enum i18n_error_code_e |
Enumeration for error codes to replace exception handlings.
- Since :
- 2.3
- Enumerator: