Home
last modified time | relevance | path

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

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DTimeUnitTest.java23 import com.ibm.icu.text.TimeUnitFormat;
38 TimeUnitFormat tuf = new TimeUnitFormat(ULocale.ENGLISH, TimeUnitFormat.FULL_NAME); in Test10219FractionalPlurals()
51 TimeUnitFormat tuf = new TimeUnitFormat(ULocale.ENGLISH, TimeUnitFormat.FULL_NAME); in Test10219FactionalPluralsParse()
67 TimeUnitFormat[] formats = new TimeUnitFormat[] { in TestBasic()
68 new TimeUnitFormat(new ULocale(locales[locIndex]), TimeUnitFormat.FULL_NAME), in TestBasic()
69 new TimeUnitFormat(new ULocale(locales[locIndex]), TimeUnitFormat.ABBREVIATED_NAME), in TestBasic()
72 for (int style = TimeUnitFormat.FULL_NAME; in TestBasic()
73 style <= TimeUnitFormat.ABBREVIATED_NAME; in TestBasic()
86 …for (int parseStyle = TimeUnitFormat.FULL_NAME; parseStyle <= TimeUnitFormat.ABBREVIATED_NAME; par… in TestBasic()
103 TimeUnitFormat format = new TimeUnitFormat(); in TestAPI()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DTimeUnitTest.java24 import android.icu.text.TimeUnitFormat;
41 TimeUnitFormat tuf = new TimeUnitFormat(ULocale.ENGLISH, TimeUnitFormat.FULL_NAME); in Test10219FractionalPlurals()
54 TimeUnitFormat tuf = new TimeUnitFormat(ULocale.ENGLISH, TimeUnitFormat.FULL_NAME); in Test10219FactionalPluralsParse()
70 TimeUnitFormat[] formats = new TimeUnitFormat[] { in TestBasic()
71 new TimeUnitFormat(new ULocale(locales[locIndex]), TimeUnitFormat.FULL_NAME), in TestBasic()
72 new TimeUnitFormat(new ULocale(locales[locIndex]), TimeUnitFormat.ABBREVIATED_NAME), in TestBasic()
75 for (int style = TimeUnitFormat.FULL_NAME; in TestBasic()
76 style <= TimeUnitFormat.ABBREVIATED_NAME; in TestBasic()
89 …for (int parseStyle = TimeUnitFormat.FULL_NAME; parseStyle <= TimeUnitFormat.ABBREVIATED_NAME; par… in TestBasic()
106 TimeUnitFormat format = new TimeUnitFormat(); in TestAPI()
[all …]
/external/icu/libicu/cts_headers/unicode/
Dtmutfmt.h89 class U_I18N_API TimeUnitFormat: public MeasureFormat {
97 TimeUnitFormat(UErrorCode& status);
103 TimeUnitFormat(const Locale& locale, UErrorCode& status);
109 TimeUnitFormat(const Locale& locale, UTimeUnitFormatStyle style, UErrorCode& status);
115 TimeUnitFormat(const TimeUnitFormat&);
121 virtual ~TimeUnitFormat();
129 virtual TimeUnitFormat* clone() const;
135 TimeUnitFormat& operator=(const TimeUnitFormat& other);
240 TimeUnitFormat::operator!=(const Format& other) const {
/external/icu/icu4c/source/i18n/unicode/
Dtmutfmt.h89 class U_I18N_API TimeUnitFormat: public MeasureFormat {
97 TimeUnitFormat(UErrorCode& status);
103 TimeUnitFormat(const Locale& locale, UErrorCode& status);
109 TimeUnitFormat(const Locale& locale, UTimeUnitFormatStyle style, UErrorCode& status);
115 TimeUnitFormat(const TimeUnitFormat&);
121 virtual ~TimeUnitFormat();
129 virtual TimeUnitFormat* clone() const;
135 TimeUnitFormat& operator=(const TimeUnitFormat& other);
240 TimeUnitFormat::operator!=(const Format& other) const {
/external/icu/icu4c/source/i18n/
Dtmutfmt.cpp58 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(TimeUnitFormat)
83 TimeUnitFormat::TimeUnitFormat(UErrorCode& status) { in TimeUnitFormat() function in TimeUnitFormat
89 TimeUnitFormat::TimeUnitFormat(const Locale& locale, UErrorCode& status) { in TimeUnitFormat() function in TimeUnitFormat
95 TimeUnitFormat::TimeUnitFormat(const Locale& locale, UTimeUnitFormatStyle style, UErrorCode& status… in TimeUnitFormat() function in TimeUnitFormat
110 TimeUnitFormat::TimeUnitFormat(const TimeUnitFormat& other) in TimeUnitFormat() function in TimeUnitFormat
129 TimeUnitFormat::~TimeUnitFormat() { in ~TimeUnitFormat()
139 TimeUnitFormat*
140 TimeUnitFormat::clone() const { in clone()
141 return new TimeUnitFormat(*this); in clone()
145 TimeUnitFormat&
[all …]
/external/icu/icu4c/source/test/intltest/
Dtufmtts.cpp110 TimeUnitFormat** formats = new TimeUnitFormat*[2]; in testBasic()
111 formats[UTMUTFMT_FULL_STYLE] = new TimeUnitFormat(loc, status); in testBasic()
113 … formats[UTMUTFMT_ABBREVIATED_STYLE] = new TimeUnitFormat(loc, UTMUTFMT_ABBREVIATED_STYLE, status); in testBasic()
256 TimeUnitFormat* tmf_en = new TimeUnitFormat(Locale("en"), status); in testAPI()
258 TimeUnitFormat tmf_fr(Locale("fr"), status); in testAPI()
263 TimeUnitFormat tmf_assign = *tmf_en; in testAPI()
266 TimeUnitFormat tmf_copy(tmf_fr); in testAPI()
269 TimeUnitFormat* tmf_clone = tmf_en->clone(); in testAPI()
285 TimeUnitFormat* en_long = new TimeUnitFormat(Locale("en"), UTMUTFMT_FULL_STYLE, status); in testAPI()
289 TimeUnitFormat* en_short = new TimeUnitFormat(Locale("en"), UTMUTFMT_ABBREVIATED_STYLE, status); in testAPI()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DTimeUnitFormat.java68 public class TimeUnitFormat extends MeasureFormat { class
113 public TimeUnitFormat() { in TimeUnitFormat() method in TimeUnitFormat
123 public TimeUnitFormat(ULocale locale) { in TimeUnitFormat() method in TimeUnitFormat
133 public TimeUnitFormat(Locale locale) { in TimeUnitFormat() method in TimeUnitFormat
146 public TimeUnitFormat(ULocale locale, int style) { in TimeUnitFormat() method in TimeUnitFormat
156 private TimeUnitFormat(ULocale locale, int style, NumberFormat numberFormat) { in TimeUnitFormat() method in TimeUnitFormat
168 public TimeUnitFormat(Locale locale, int style) { in TimeUnitFormat() method in TimeUnitFormat
179 public TimeUnitFormat setLocale(ULocale locale) { in setLocale()
192 public TimeUnitFormat setLocale(Locale locale) { in setLocale()
204 public TimeUnitFormat setNumberFormat(NumberFormat format) { in setNumberFormat()
[all …]
DMeasureFormat.java972 private TimeUnitFormat createTimeUnitFormat() throws InvalidObjectException { in createTimeUnitFormat()
975 style = TimeUnitFormat.FULL_NAME; in createTimeUnitFormat()
977 style = TimeUnitFormat.ABBREVIATED_NAME; in createTimeUnitFormat()
981 TimeUnitFormat result = new TimeUnitFormat(locale, style); in createTimeUnitFormat()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DTimeUnitFormat.java66 public class TimeUnitFormat extends MeasureFormat { class
111 public TimeUnitFormat() { in TimeUnitFormat() method in TimeUnitFormat
121 public TimeUnitFormat(ULocale locale) { in TimeUnitFormat() method in TimeUnitFormat
131 public TimeUnitFormat(Locale locale) { in TimeUnitFormat() method in TimeUnitFormat
144 public TimeUnitFormat(ULocale locale, int style) { in TimeUnitFormat() method in TimeUnitFormat
154 private TimeUnitFormat(ULocale locale, int style, NumberFormat numberFormat) { in TimeUnitFormat() method in TimeUnitFormat
166 public TimeUnitFormat(Locale locale, int style) { in TimeUnitFormat() method in TimeUnitFormat
177 public TimeUnitFormat setLocale(ULocale locale) { in setLocale()
190 public TimeUnitFormat setLocale(Locale locale) { in setLocale()
202 public TimeUnitFormat setNumberFormat(NumberFormat format) { in setNumberFormat()
[all …]
DMeasureFormat.java1013 private TimeUnitFormat createTimeUnitFormat() throws InvalidObjectException { in createTimeUnitFormat()
1016 style = TimeUnitFormat.FULL_NAME; in createTimeUnitFormat()
1018 style = TimeUnitFormat.ABBREVIATED_NAME; in createTimeUnitFormat()
1022 TimeUnitFormat result = new TimeUnitFormat(locale, style); in createTimeUnitFormat()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
DFormatHandler.java42 import com.ibm.icu.text.TimeUnitFormat;
2364 return new Object[] { new TimeUnitFormat().setLocale(ULocale.ENGLISH) }; in getTestObjects()
2368 TimeUnitFormat tufa = (TimeUnitFormat)a; in hasSameBehavior()
2369 TimeUnitFormat tufb = (TimeUnitFormat)b; in hasSameBehavior()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/
DFormatHandler.java43 import android.icu.text.TimeUnitFormat;
2367 return new Object[] { new TimeUnitFormat().setLocale(ULocale.ENGLISH) }; in getTestObjects()
2371 TimeUnitFormat tufa = (TimeUnitFormat)a; in hasSameBehavior()
2372 TimeUnitFormat tufb = (TimeUnitFormat)b; in hasSameBehavior()
/external/icu/icu4j/
Dcoverage-exclusion.txt993 com/ibm/icu/text/TimeUnitFormat#<init>:(Lcom/ibm/icu/util/ULocale;ILcom/ibm/icu/text/NumberFormat;)V
994 com/ibm/icu/text/TimeUnitFormat#readResolve:()Ljava/lang/Object;
995 com/ibm/icu/text/TimeUnitFormat#searchInTree:(Ljava/lang/String;ILcom/ibm/icu/util/TimeUnit;Ljava/l…
/external/icu/icu4j/tools/build/
Dicu4j60.api3.gz
Dicu4j59.api3.gz
Dicu4j61.api3.gz
Dicu4j62.api3.gz12;ICU4J 62.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j68.api3.gz
Dicu4j65.api3.gz
Dicu4j64.api3.gz
Dicu4j63.api3.gz12;ICU4J 63.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j66.api3.gz
Dicu4j67.api3.gz12;ICU4J 67.1;; 2ST@3.6;PB;NS;NF;NS; ...
/external/cldr/tools/java/libs/
Dicu4j.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/ibm/ com/ ...