Home
last modified time | relevance | path

Searched refs:TimeUnitFormat (Results 1 – 7 of 7) sorted by relevance

/external/chromium_org/third_party/icu/source/test/intltest/
Dtufmtts.cpp43 TimeUnitFormat** formats = new TimeUnitFormat*[2]; in testBasic()
44 formats[TimeUnitFormat::kFull] = new TimeUnitFormat(loc, status); in testBasic()
46 …formats[TimeUnitFormat::kAbbreviate] = new TimeUnitFormat(loc, TimeUnitFormat::kAbbreviate, status… in testBasic()
51 for (int style = TimeUnitFormat::kFull; in testBasic()
52 style <= TimeUnitFormat::kAbbreviate; in testBasic()
93 delete formats[TimeUnitFormat::kFull]; in testBasic()
94 delete formats[TimeUnitFormat::kAbbreviate]; in testBasic()
160 TimeUnitFormat* tmf_en = new TimeUnitFormat(Locale("en"), status); in testAPI()
162 TimeUnitFormat tmf_fr(Locale("fr"), status); in testAPI()
167 TimeUnitFormat tmf_assign = *tmf_en; in testAPI()
[all …]
/external/icu/icu4c/source/i18n/unicode/
Dtmutfmt.h87 class U_I18N_API TimeUnitFormat: public MeasureFormat {
95 TimeUnitFormat(UErrorCode& status);
101 TimeUnitFormat(const Locale& locale, UErrorCode& status);
107 TimeUnitFormat(const Locale& locale, UTimeUnitFormatStyle style, UErrorCode& status);
113 TimeUnitFormat(const TimeUnitFormat&);
119 virtual ~TimeUnitFormat();
133 TimeUnitFormat& operator=(const TimeUnitFormat& other);
237 TimeUnitFormat::operator!=(const Format& other) const {
/external/chromium_org/third_party/icu/source/i18n/unicode/
Dtmutfmt.h69 class U_I18N_API TimeUnitFormat: public MeasureFormat {
90 TimeUnitFormat(UErrorCode& status);
96 TimeUnitFormat(const Locale& locale, UErrorCode& status);
102 TimeUnitFormat(const Locale& locale, EStyle style, UErrorCode& status);
108 TimeUnitFormat(const TimeUnitFormat&);
114 virtual ~TimeUnitFormat();
128 TimeUnitFormat& operator=(const TimeUnitFormat& other);
261 TimeUnitFormat::operator!=(const Format& other) const {
/external/icu/icu4c/source/test/intltest/
Dtufmtts.cpp65 TimeUnitFormat** formats = new TimeUnitFormat*[2]; in testBasic()
66 formats[UTMUTFMT_FULL_STYLE] = new TimeUnitFormat(loc, status); in testBasic()
68 … formats[UTMUTFMT_ABBREVIATED_STYLE] = new TimeUnitFormat(loc, UTMUTFMT_ABBREVIATED_STYLE, status); in testBasic()
211 TimeUnitFormat* tmf_en = new TimeUnitFormat(Locale("en"), status); in testAPI()
213 TimeUnitFormat tmf_fr(Locale("fr"), status); in testAPI()
218 TimeUnitFormat tmf_assign = *tmf_en; in testAPI()
221 TimeUnitFormat tmf_copy(tmf_fr); in testAPI()
224 TimeUnitFormat* tmf_clone = (TimeUnitFormat*)tmf_en->clone(); in testAPI()
240 TimeUnitFormat* en_long = new TimeUnitFormat(Locale("en"), UTMUTFMT_FULL_STYLE, status); in testAPI()
244 TimeUnitFormat* en_short = new TimeUnitFormat(Locale("en"), UTMUTFMT_ABBREVIATED_STYLE, status); in testAPI()
[all …]
/external/chromium_org/third_party/icu/source/i18n/
Dtmutfmt.cpp51 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(TimeUnitFormat)
77 TimeUnitFormat::TimeUnitFormat(UErrorCode& status) in TimeUnitFormat() function in TimeUnitFormat
84 TimeUnitFormat::TimeUnitFormat(const Locale& locale, UErrorCode& status) in TimeUnitFormat() function in TimeUnitFormat
91 TimeUnitFormat::TimeUnitFormat(const Locale& locale, EStyle style, UErrorCode& status) in TimeUnitFormat() function in TimeUnitFormat
98 TimeUnitFormat::TimeUnitFormat(const TimeUnitFormat& other) in TimeUnitFormat() function in TimeUnitFormat
113 TimeUnitFormat::~TimeUnitFormat() { in ~TimeUnitFormat()
128 TimeUnitFormat::clone(void) const { in clone()
129 return new TimeUnitFormat(*this); in clone()
133 TimeUnitFormat&
134 TimeUnitFormat::operator=(const TimeUnitFormat& other) { in operator =()
[all …]
/external/icu/icu4c/source/i18n/
Dtmutfmt.cpp54 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(TimeUnitFormat)
79 TimeUnitFormat::TimeUnitFormat(UErrorCode& status) { in TimeUnitFormat() function in TimeUnitFormat
85 TimeUnitFormat::TimeUnitFormat(const Locale& locale, UErrorCode& status) { in TimeUnitFormat() function in TimeUnitFormat
91 TimeUnitFormat::TimeUnitFormat(const Locale& locale, UTimeUnitFormatStyle style, UErrorCode& status… in TimeUnitFormat() function in TimeUnitFormat
106 TimeUnitFormat::TimeUnitFormat(const TimeUnitFormat& other) in TimeUnitFormat() function in TimeUnitFormat
125 TimeUnitFormat::~TimeUnitFormat() { in ~TimeUnitFormat()
136 TimeUnitFormat::clone(void) const { in clone()
137 return new TimeUnitFormat(*this); in clone()
141 TimeUnitFormat&
142 TimeUnitFormat::operator=(const TimeUnitFormat& other) { in operator =()
[all …]
/external/chromium_org/third_party/icu/source/common/unicode/
Durename.h2172 #define TimeUnitFormat U_ICU_ENTRY_POINT_RENAME(TimeUnitFormat) macro