Lines Matching defs:TimeUnit
16 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(TimeUnit)
21 * So, TimeUnit could be made as singleton
23 * in which a static TimeUnit* array is created, and
24 * the creatInstance() returns a const TimeUnit*).
25 * But the constraint is TimeUnit is a data member of Measure.
37 * Since TimeUnit is such a light weight object, comparing with the heavy weight
40 * So, both TimeUnit and CurrencyUnit (the 2 subclasses of MeasureUnit) are
47 * there might be performance hit because 10,000 TimeUnit object,
57 TimeUnit* U_EXPORT2
58 TimeUnit::createInstance(TimeUnit::UTimeUnitFields timeUnitField,
67 return new TimeUnit(timeUnitField);
71 TimeUnit::TimeUnit(TimeUnit::UTimeUnitFields timeUnitField) {
76 TimeUnit::TimeUnit(const TimeUnit& other)
83 TimeUnit::clone() const {
84 return new TimeUnit(*this);
88 TimeUnit&
89 TimeUnit::operator=(const TimeUnit& other) {
99 TimeUnit::operator==(const UObject& other) const {
101 && fTimeUnitField == ((TimeUnit*)&other)->fTimeUnitField);
105 TimeUnit::UTimeUnitFields
106 TimeUnit::getTimeUnitField() const {
111 TimeUnit::~TimeUnit() {