Logo Search packages:      
Sourcecode: icu version File versions

Public Member Functions | Static Public Member Functions

TimeUnitAmount Class Reference

#include <tmutamt.h>

Inheritance diagram for TimeUnitAmount:
Inheritance graph
[legend]
Collaboration diagram for TimeUnitAmount:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual UObjectclone () const
virtual UClassID getDynamicClassID (void) const
const FormattablegetNumber () const
const TimeUnitgetTimeUnit () const
TimeUnit::UTimeUnitFields getTimeUnitField () const
const MeasureUnitgetUnit () const
UBool operator!= (const UObject &other) const
TimeUnitAmountoperator= (const TimeUnitAmount &other)
virtual UBool operator== (const UObject &other) const
 TimeUnitAmount (const TimeUnitAmount &other)
 TimeUnitAmount (double amount, TimeUnit::UTimeUnitFields timeUnitField, UErrorCode &status)
 TimeUnitAmount (const Formattable &number, TimeUnit::UTimeUnitFields timeUnitField, UErrorCode &status)
virtual ~TimeUnitAmount ()

Static Public Member Functions

static UClassID U_EXPORT2 getStaticClassID (void)
static void U_EXPORT2 operator delete (void *p) U_NO_THROW
static void U_EXPORT2 operator delete (void *, void *) U_NO_THROW
static void U_EXPORT2 operator delete[] (void *p) U_NO_THROW
static void *U_EXPORT2 operator new (size_t size) U_NO_THROW
static void *U_EXPORT2 operator new (size_t, void *ptr) U_NO_THROW
static void *U_EXPORT2 operator new[] (size_t size) U_NO_THROW

Detailed Description

Express a duration as a time unit and number. Patterned after Currency.

See also:
TimeUnitAmount
TimeUnitFormat ICU 4.2

Definition at line 31 of file tmutamt.h.


The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index