Home
last modified time | relevance | path

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

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DTimeUnitTest.java17 import com.ibm.icu.text.TimeUnitFormat;
34 TimeUnitFormat tuf = new TimeUnitFormat(ULocale.ENGLISH, TimeUnitFormat.FULL_NAME); in Test10219FractionalPlurals()
46 TimeUnitFormat tuf = new TimeUnitFormat(ULocale.ENGLISH, TimeUnitFormat.FULL_NAME); in Test10219FactionalPluralsParse()
61 TimeUnitFormat[] formats = new TimeUnitFormat[] { in TestBasic()
62 new TimeUnitFormat(new ULocale(locales[locIndex]), TimeUnitFormat.FULL_NAME), in TestBasic()
63 new TimeUnitFormat(new ULocale(locales[locIndex]), TimeUnitFormat.ABBREVIATED_NAME), in TestBasic()
66 for (int style = TimeUnitFormat.FULL_NAME; in TestBasic()
67 style <= TimeUnitFormat.ABBREVIATED_NAME; in TestBasic()
80 …for (int parseStyle = TimeUnitFormat.FULL_NAME; parseStyle <= TimeUnitFormat.ABBREVIATED_NAME; par… in TestBasic()
96 TimeUnitFormat format = new TimeUnitFormat(); in TestAPI()
[all …]
DTestAll.java100 public static class TimeUnitFormat extends TestGroup { class in TestAll
101 public TimeUnitFormat() { in TimeUnitFormat() method in TestAll.TimeUnitFormat
/external/icu/icu4c/source/i18n/unicode/
Dtmutfmt.h83 class U_I18N_API TimeUnitFormat: public MeasureFormat {
91 TimeUnitFormat(UErrorCode& status);
97 TimeUnitFormat(const Locale& locale, UErrorCode& status);
103 TimeUnitFormat(const Locale& locale, UTimeUnitFormatStyle style, UErrorCode& status);
109 TimeUnitFormat(const TimeUnitFormat&);
115 virtual ~TimeUnitFormat();
129 TimeUnitFormat& operator=(const TimeUnitFormat& other);
233 TimeUnitFormat::operator!=(const Format& other) const {
/external/icu/icu4c/source/test/intltest/
Dtufmtts.cpp64 TimeUnitFormat** formats = new TimeUnitFormat*[2]; in testBasic()
65 formats[UTMUTFMT_FULL_STYLE] = new TimeUnitFormat(loc, status); in testBasic()
67 … formats[UTMUTFMT_ABBREVIATED_STYLE] = new TimeUnitFormat(loc, UTMUTFMT_ABBREVIATED_STYLE, status); in testBasic()
210 TimeUnitFormat* tmf_en = new TimeUnitFormat(Locale("en"), status); in testAPI()
212 TimeUnitFormat tmf_fr(Locale("fr"), status); in testAPI()
217 TimeUnitFormat tmf_assign = *tmf_en; in testAPI()
220 TimeUnitFormat tmf_copy(tmf_fr); in testAPI()
223 TimeUnitFormat* tmf_clone = (TimeUnitFormat*)tmf_en->clone(); in testAPI()
239 TimeUnitFormat* en_long = new TimeUnitFormat(Locale("en"), UTMUTFMT_FULL_STYLE, status); in testAPI()
243 TimeUnitFormat* en_short = new TimeUnitFormat(Locale("en"), UTMUTFMT_ABBREVIATED_STYLE, status); in testAPI()
[all …]
/external/icu/icu4c/source/i18n/
Dtmutfmt.cpp55 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(TimeUnitFormat)
80 TimeUnitFormat::TimeUnitFormat(UErrorCode& status) { in TimeUnitFormat() function in TimeUnitFormat
86 TimeUnitFormat::TimeUnitFormat(const Locale& locale, UErrorCode& status) { in TimeUnitFormat() function in TimeUnitFormat
92 TimeUnitFormat::TimeUnitFormat(const Locale& locale, UTimeUnitFormatStyle style, UErrorCode& status… in TimeUnitFormat() function in TimeUnitFormat
107 TimeUnitFormat::TimeUnitFormat(const TimeUnitFormat& other) in TimeUnitFormat() function in TimeUnitFormat
126 TimeUnitFormat::~TimeUnitFormat() { in ~TimeUnitFormat()
137 TimeUnitFormat::clone(void) const { in clone()
138 return new TimeUnitFormat(*this); in clone()
142 TimeUnitFormat&
143 TimeUnitFormat::operator=(const TimeUnitFormat& other) { in operator =()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DTimeUnitFormat.java64 public class TimeUnitFormat extends MeasureFormat { class
116 public TimeUnitFormat() { in TimeUnitFormat() method in TimeUnitFormat
128 public TimeUnitFormat(ULocale locale) { in TimeUnitFormat() method in TimeUnitFormat
138 public TimeUnitFormat(Locale locale) { in TimeUnitFormat() method in TimeUnitFormat
151 public TimeUnitFormat(ULocale locale, int style) { in TimeUnitFormat() method in TimeUnitFormat
165 private TimeUnitFormat(ULocale locale, int style, NumberFormat numberFormat) { in TimeUnitFormat() method in TimeUnitFormat
177 public TimeUnitFormat(Locale locale, int style) { in TimeUnitFormat() method in TimeUnitFormat
188 public TimeUnitFormat setLocale(ULocale locale) { in setLocale()
207 public TimeUnitFormat setLocale(Locale locale) { in setLocale()
219 public TimeUnitFormat setNumberFormat(NumberFormat format) { in setNumberFormat()
[all …]
DMeasureFormat.java1229 private TimeUnitFormat createTimeUnitFormat() throws InvalidObjectException { in createTimeUnitFormat()
1232 style = TimeUnitFormat.FULL_NAME; in createTimeUnitFormat()
1234 style = TimeUnitFormat.ABBREVIATED_NAME; in createTimeUnitFormat()
1238 TimeUnitFormat result = new TimeUnitFormat(locale, style); in createTimeUnitFormat()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
DFormatTests.java38 import com.ibm.icu.text.TimeUnitFormat;
2215 return new Object[] { new TimeUnitFormat().setLocale(ULocale.ENGLISH) }; in getTestObjects()
2218 TimeUnitFormat tufa = (TimeUnitFormat)a; in hasSameBehavior()
2219 TimeUnitFormat tufb = (TimeUnitFormat)b; in hasSameBehavior()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...