Home
last modified time | relevance | path

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

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DTimeUnitTest.java22 import com.ibm.icu.text.TimeUnitFormat;
36 TimeUnitFormat tuf = new TimeUnitFormat(ULocale.ENGLISH, TimeUnitFormat.FULL_NAME); in Test10219FractionalPlurals()
49 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()
101 TimeUnitFormat format = new TimeUnitFormat(); in TestAPI()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DTimeUnitTest.java23 import android.icu.text.TimeUnitFormat;
37 TimeUnitFormat tuf = new TimeUnitFormat(ULocale.ENGLISH, TimeUnitFormat.FULL_NAME); in Test10219FractionalPlurals()
50 TimeUnitFormat tuf = new TimeUnitFormat(ULocale.ENGLISH, TimeUnitFormat.FULL_NAME); in Test10219FactionalPluralsParse()
66 TimeUnitFormat[] formats = new TimeUnitFormat[] { in TestBasic()
67 new TimeUnitFormat(new ULocale(locales[locIndex]), TimeUnitFormat.FULL_NAME), in TestBasic()
68 new TimeUnitFormat(new ULocale(locales[locIndex]), TimeUnitFormat.ABBREVIATED_NAME), in TestBasic()
71 for (int style = TimeUnitFormat.FULL_NAME; in TestBasic()
72 style <= TimeUnitFormat.ABBREVIATED_NAME; in TestBasic()
85 …for (int parseStyle = TimeUnitFormat.FULL_NAME; parseStyle <= TimeUnitFormat.ABBREVIATED_NAME; par… in TestBasic()
102 TimeUnitFormat format = new TimeUnitFormat(); 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);
238 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()
140 TimeUnitFormat::clone(void) const { in clone()
141 return new TimeUnitFormat(*this); in clone()
145 TimeUnitFormat&
146 TimeUnitFormat::operator=(const TimeUnitFormat& other) { in operator =()
[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 = (TimeUnitFormat*)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.java69 public class TimeUnitFormat extends MeasureFormat { class
121 public TimeUnitFormat() { in TimeUnitFormat() method in TimeUnitFormat
133 public TimeUnitFormat(ULocale locale) { in TimeUnitFormat() method in TimeUnitFormat
143 public TimeUnitFormat(Locale locale) { in TimeUnitFormat() method in TimeUnitFormat
156 public TimeUnitFormat(ULocale locale, int style) { in TimeUnitFormat() method in TimeUnitFormat
170 private TimeUnitFormat(ULocale locale, int style, NumberFormat numberFormat) { in TimeUnitFormat() method in TimeUnitFormat
182 public TimeUnitFormat(Locale locale, int style) { in TimeUnitFormat() method in TimeUnitFormat
193 public TimeUnitFormat setLocale(ULocale locale) { in setLocale()
212 public TimeUnitFormat setLocale(Locale locale) { in setLocale()
224 public TimeUnitFormat setNumberFormat(NumberFormat format) { in setNumberFormat()
[all …]
DMeasureFormat.java1407 private TimeUnitFormat createTimeUnitFormat() throws InvalidObjectException { in createTimeUnitFormat()
1410 style = TimeUnitFormat.FULL_NAME; in createTimeUnitFormat()
1412 style = TimeUnitFormat.ABBREVIATED_NAME; in createTimeUnitFormat()
1416 TimeUnitFormat result = new TimeUnitFormat(locale, style); in createTimeUnitFormat()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DTimeUnitFormat.java67 public class TimeUnitFormat extends MeasureFormat { class
119 public TimeUnitFormat() { in TimeUnitFormat() method in TimeUnitFormat
131 public TimeUnitFormat(ULocale locale) { in TimeUnitFormat() method in TimeUnitFormat
141 public TimeUnitFormat(Locale locale) { in TimeUnitFormat() method in TimeUnitFormat
154 public TimeUnitFormat(ULocale locale, int style) { in TimeUnitFormat() method in TimeUnitFormat
168 private TimeUnitFormat(ULocale locale, int style, NumberFormat numberFormat) { in TimeUnitFormat() method in TimeUnitFormat
180 public TimeUnitFormat(Locale locale, int style) { in TimeUnitFormat() method in TimeUnitFormat
191 public TimeUnitFormat setLocale(ULocale locale) { in setLocale()
210 public TimeUnitFormat setLocale(Locale locale) { in setLocale()
222 public TimeUnitFormat setNumberFormat(NumberFormat format) { in setNumberFormat()
[all …]
DMeasureFormat.java1435 private TimeUnitFormat createTimeUnitFormat() throws InvalidObjectException { in createTimeUnitFormat()
1438 style = TimeUnitFormat.FULL_NAME; in createTimeUnitFormat()
1440 style = TimeUnitFormat.ABBREVIATED_NAME; in createTimeUnitFormat()
1444 TimeUnitFormat result = new TimeUnitFormat(locale, style); in createTimeUnitFormat()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/
DFormatHandler.java41 import android.icu.text.TimeUnitFormat;
2282 return new Object[] { new TimeUnitFormat().setLocale(ULocale.ENGLISH) }; in getTestObjects()
2286 TimeUnitFormat tufa = (TimeUnitFormat)a; in hasSameBehavior()
2287 TimeUnitFormat tufb = (TimeUnitFormat)b; in hasSameBehavior()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
DFormatHandler.java40 import com.ibm.icu.text.TimeUnitFormat;
2281 return new Object[] { new TimeUnitFormat().setLocale(ULocale.ENGLISH) }; in getTestObjects()
2285 TimeUnitFormat tufa = (TimeUnitFormat)a; in hasSameBehavior()
2286 TimeUnitFormat tufb = (TimeUnitFormat)b; in hasSameBehavior()
/external/icu/icu4j/
Dcoverage-exclusion.txt863 com/ibm/icu/text/TimeUnitFormat#<init>:(Lcom/ibm/icu/util/ULocale;ILcom/ibm/icu/text/NumberFormat;)V
864 com/ibm/icu/text/TimeUnitFormat#readResolve:()Ljava/lang/Object;
865 com/ibm/icu/text/TimeUnitFormat#searchInTree:(Ljava/lang/String;ILcom/ibm/icu/util/TimeUnit;Ljava/l…
/external/icu/icu4j/tools/build/
Dicu4j48.api3.gz
Dicu4j53.api3.gz
Dicu4j57.api3.gz
Dicu4j54.api3.gz
Dicu4j55.api3.gz
Dicu4j56.api3.gz12;ICU4J 56.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j58.api3.gz12;ICU4J 58.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j50.api3.gz12;ICU4J 50.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j51.api3.gz
Dicu4j52.api3.gz
Dicu4j49.api3.gz