Home
last modified time | relevance | path

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

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DTimeUnitTest.java18 import android.icu.text.TimeUnitFormat;
38 TimeUnitFormat tuf = new TimeUnitFormat(ULocale.ENGLISH, TimeUnitFormat.FULL_NAME); in Test10219FractionalPlurals()
50 TimeUnitFormat tuf = new TimeUnitFormat(ULocale.ENGLISH, TimeUnitFormat.FULL_NAME); in Test10219FactionalPluralsParse()
65 TimeUnitFormat[] formats = new TimeUnitFormat[] { in TestBasic()
66 new TimeUnitFormat(new ULocale(locales[locIndex]), TimeUnitFormat.FULL_NAME), in TestBasic()
67 new TimeUnitFormat(new ULocale(locales[locIndex]), TimeUnitFormat.ABBREVIATED_NAME), in TestBasic()
70 for (int style = TimeUnitFormat.FULL_NAME; in TestBasic()
71 style <= TimeUnitFormat.ABBREVIATED_NAME; in TestBasic()
84 …for (int parseStyle = TimeUnitFormat.FULL_NAME; parseStyle <= TimeUnitFormat.ABBREVIATED_NAME; par… in TestBasic()
100 TimeUnitFormat format = new TimeUnitFormat(); in TestAPI()
[all …]
DTestAll.java108 public static class TimeUnitFormat extends TestGroup { class in TestAll
109 public TimeUnitFormat() { in TimeUnitFormat() method in TestAll.TimeUnitFormat
/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.java99 public static class TimeUnitFormat extends TestGroup { class in TestAll
100 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.cpp108 TimeUnitFormat** formats = new TimeUnitFormat*[2]; in testBasic()
109 formats[UTMUTFMT_FULL_STYLE] = new TimeUnitFormat(loc, status); in testBasic()
111 … formats[UTMUTFMT_ABBREVIATED_STYLE] = new TimeUnitFormat(loc, UTMUTFMT_ABBREVIATED_STYLE, status); in testBasic()
254 TimeUnitFormat* tmf_en = new TimeUnitFormat(Locale("en"), status); in testAPI()
256 TimeUnitFormat tmf_fr(Locale("fr"), status); in testAPI()
261 TimeUnitFormat tmf_assign = *tmf_en; in testAPI()
264 TimeUnitFormat tmf_copy(tmf_fr); in testAPI()
267 TimeUnitFormat* tmf_clone = (TimeUnitFormat*)tmf_en->clone(); in testAPI()
283 TimeUnitFormat* en_long = new TimeUnitFormat(Locale("en"), UTMUTFMT_FULL_STYLE, status); in testAPI()
287 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.java1379 private TimeUnitFormat createTimeUnitFormat() throws InvalidObjectException { in createTimeUnitFormat()
1382 style = TimeUnitFormat.FULL_NAME; in createTimeUnitFormat()
1384 style = TimeUnitFormat.ABBREVIATED_NAME; in createTimeUnitFormat()
1388 TimeUnitFormat result = new TimeUnitFormat(locale, style); in createTimeUnitFormat()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DTimeUnitFormat.java66 public class TimeUnitFormat extends MeasureFormat { class
118 public TimeUnitFormat() { in TimeUnitFormat() method in TimeUnitFormat
130 public TimeUnitFormat(ULocale locale) { in TimeUnitFormat() method in TimeUnitFormat
140 public TimeUnitFormat(Locale locale) { in TimeUnitFormat() method in TimeUnitFormat
153 public TimeUnitFormat(ULocale locale, int style) { in TimeUnitFormat() method in TimeUnitFormat
167 private TimeUnitFormat(ULocale locale, int style, NumberFormat numberFormat) { in TimeUnitFormat() method in TimeUnitFormat
179 public TimeUnitFormat(Locale locale, int style) { in TimeUnitFormat() method in TimeUnitFormat
190 public TimeUnitFormat setLocale(ULocale locale) { in setLocale()
209 public TimeUnitFormat setLocale(Locale locale) { in setLocale()
221 public TimeUnitFormat setNumberFormat(NumberFormat format) { in setNumberFormat()
[all …]
DMeasureFormat.java1352 private TimeUnitFormat createTimeUnitFormat() throws InvalidObjectException { in createTimeUnitFormat()
1355 style = TimeUnitFormat.FULL_NAME; in createTimeUnitFormat()
1357 style = TimeUnitFormat.ABBREVIATED_NAME; in createTimeUnitFormat()
1361 TimeUnitFormat result = new TimeUnitFormat(locale, style); in createTimeUnitFormat()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/
DFormatTests.java39 import android.icu.text.TimeUnitFormat;
2216 return new Object[] { new TimeUnitFormat().setLocale(ULocale.ENGLISH) }; in getTestObjects()
2219 TimeUnitFormat tufa = (TimeUnitFormat)a; in hasSameBehavior()
2220 TimeUnitFormat tufb = (TimeUnitFormat)b; in hasSameBehavior()
/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/icu/icu4j/tools/build/
Dicu4j48.api3.gz12;ICU4J 4.8;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j53.api3.gz
Dicu4j54.api3.gz
Dicu4j55.api3.gz
Dicu4j56.api3.gz
Dicu4j50.api3.gz12;ICU4J 50.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j49.api3.gz
Dicu4j52.api3.gz
Dicu4j51.api3.gz
/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 ...