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/tmutamt_8h_source.html below:

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

21 #if U_SHOW_CPLUSPLUS_API 23 #if !UCONFIG_NO_FORMATTING

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

An amount of a specified unit, consisting of a number and a Unit.

bool operator!=(const UObject &other) const

Inequality operator.

Express a duration as a time unit and number.

static UClassID getStaticClassID()

Return the class ID for this class.

TimeUnitAmount(double amount, TimeUnit::UTimeUnitFields timeUnitField, UErrorCode &status)

Construct TimeUnitAmount object with the given numeric amount and the given time unit.

virtual bool operator==(const UObject &other) const

Equality operator.

TimeUnit::UTimeUnitFields getTimeUnitField() const

Get the time unit field value.

TimeUnitAmount(const TimeUnitAmount &other)

Copy constructor.

TimeUnitAmount(const Formattable &number, TimeUnit::UTimeUnitFields timeUnitField, UErrorCode &status)

Construct TimeUnitAmount object with the given number and the given time unit.

const TimeUnit & getTimeUnit() const

Get the time unit.

virtual UClassID getDynamicClassID() const override

Returns a unique class ID POLYMORPHICALLY.

virtual ~TimeUnitAmount()

Destructor.

TimeUnitAmount & operator=(const TimeUnitAmount &other)

Assignment operator.

virtual TimeUnitAmount * clone() const override

Clone.

Measurement unit for time units.

UTimeUnitFields

Constants for all the time units we supported.

UObject is the common ICU "boilerplate" class.

C++ API: MeasureUnit object.

U_EXPORT UBool operator==(const StringPiece &x, const StringPiece &y)

Global operator == for StringPiece.

bool operator!=(const StringPiece &x, const StringPiece &y)

Global operator != for StringPiece.

C++ API: time unit object.

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