A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://unicode-org.github.io/icu-docs/apidoc/released/icu4c/tmutfmt_8h_source.html below:

ICU 77.1: i18n/unicode/tmutfmt.h Source File

21 #if U_SHOW_CPLUSPLUS_API 23 #if !UCONFIG_NO_FORMATTING 32 #ifndef U_HIDE_DEPRECATED_API 57 struct

TimeUnitFormatReadSink;

203  void

readFromCurrentLocale(

UTimeUnitFormatStyle

style,

const char

* key,

const

UVector& pluralCounts,

211  void

searchInLocaleChain(

UTimeUnitFormatStyle

style,

const char

* key,

const char

* localeName,

219  void

deleteHash(Hashtable* htable);

222  void

copyHash(

const

Hashtable* source, Hashtable* target,

UErrorCode

& status);

227  friend struct

TimeUnitFormatReadSink;

Formattable objects can be passed to the Format class or its subclasses for formatting.

A Locale object represents a specific geographical, political, or cultural region.

ParsePosition is a simple class used by Format and its subclasses to keep track of the current positi...

Format or parse a TimeUnitAmount, using plural rules for the units where available.

TimeUnitFormat(const Locale &locale, UErrorCode &status)

Create TimeUnitFormat given locale, and full name style.

TimeUnitFormat(const TimeUnitFormat &)

Copy constructor.

static UClassID getStaticClassID()

Return the class ID for this class.

void setNumberFormat(const NumberFormat &format, UErrorCode &status)

Set the number format used for formatting or parsing.

virtual UClassID getDynamicClassID() const override

Returns a unique class ID POLYMORPHICALLY.

TimeUnitFormat(UErrorCode &status)

Create TimeUnitFormat with default locale, and full name style.

TimeUnitFormat(const Locale &locale, UTimeUnitFormatStyle style, UErrorCode &status)

Create TimeUnitFormat given locale and style.

void setLocale(const Locale &locale, UErrorCode &status)

Set the locale used for formatting or parsing.

TimeUnitFormat & operator=(const TimeUnitFormat &other)

Assignment operator.

virtual ~TimeUnitFormat()

deconstructor

virtual void parseObject(const UnicodeString &source, Formattable &result, ParsePosition &pos) const override

Parse a TimeUnitAmount.

virtual TimeUnitFormat * clone() const override

Clone this Format object polymorphically.

UTimeUnitFields

Constants for all the time units we supported.

@ UTIMEUNIT_FIELD_COUNT

One more than the highest normal UTimeUnitFields value.

UnicodeString is a string class that stores Unicode characters directly and provides similar function...

C++ API: Compatibility APIs for measure formatting.

C++ API: Compatibility APIs for number formatting.

C++ API: PluralRules object.

C++ API: time unit object.

C++ API: time unit amount object.

UTimeUnitFormatStyle

Constants for various styles.

@ UTMUTFMT_ABBREVIATED_STYLE

@ UTMUTFMT_FORMAT_STYLE_COUNT

void * UClassID

UClassID is used to identify classes without using the compiler's RTTI.

Basic definitions for ICU, for both C and C++ APIs.

UErrorCode

Standard ICU4C error code type, a substitute for exceptions.

#define U_I18N_API

Set to export library symbols from inside the i18n library, and to import them from outside.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4