/libcore/luni/src/main/java/libcore/icu/ |
DateIntervalFormat.java | 29 * Exposes icu4j's DateIntervalFormat. 31 public final class DateIntervalFormat { 33 private static final BasicLruCache<String, android.icu.text.DateIntervalFormat> CACHED_FORMATTERS 36 private DateIntervalFormat() { 68 // This is not the behavior of icu4j's DateIntervalFormat, but it's the historical behavior 78 android.icu.text.DateIntervalFormat formatter = 85 private static android.icu.text.DateIntervalFormat getFormatter(String skeleton, ULocale locale, 88 android.icu.text.DateIntervalFormat formatter = CACHED_FORMATTERS.get(key); 92 formatter = android.icu.text.DateIntervalFormat.getInstance(skeleton, locale);
|
/libcore/benchmarks/src/benchmarks/regression/ |
DateIntervalFormatBenchmark.java | 21 import libcore.icu.DateIntervalFormat; 32 DateIntervalFormat.formatDateRange(l, utc, 0L, 0L, flags); 42 DateIntervalFormat.formatDateRange(l, utc, 0L, 0L, flags); 52 DateIntervalFormat.formatDateRange(l, utc, 0L, 0L, flags);
|
/external/icu/android_icu4j/src/samples/java/android/icu/samples/text/dateintervalformat/ |
DateIntervalFormatSample.java | 10 package android.icu.samples.text.dateintervalformat; 17 import android.icu.text.DateIntervalFormat; 38 System.out.println(" Use DateIntervalFormat to get Date interval format for pre-defined skeletons:"); 62 DateIntervalFormat dtitvfmtEn = DateIntervalFormat.getInstance(skeleton, ULocale.ENGLISH); 63 DateIntervalFormat dtitvfmtJa = DateIntervalFormat.getInstance(skeleton, ULocale.JAPANESE); 82 System.out.println(" Use DateIntervalFormat to create customized date interval format for yMMMd, Hm"); 106 // Get the DateIntervalFormat with the custom pattern 110 DateIntervalFormat dtitvfmtEn = DateIntervalFormat.getInstance(skeleton,ULocale.ENGLISH,dtitvinf) [all...] |
/external/icu/icu4c/source/samples/dtitvfmtsample/ |
dtitvfmtsample.cpp | 21 u_printf(" Use DateIntervalFormat to get date interval format for pre-defined skeletons:\n"); 61 //create a DateIntervalFormat instance for given skeleton, locale 62 DateIntervalFormat* dtitvfmtEn = DateIntervalFormat::createInstance(skeletons[j], Locale::getEnglish(),status); 63 DateIntervalFormat* dtitvfmtJa = DateIntervalFormat::createInstance(skeletons[j], Locale::getJapanese(),status); 66 //get the DateIntervalFormat 84 u_printf(" Use DateIntervalFormat to create customized date interval format for yMMMd, Hm"); 119 // Get the DateIntervalFormat with the custom pattern 125 DateIntervalFormat* dtitvfmtEn = DateIntervalFormat::createInstance(skeletons[i],Locale::getEnglish(),dtitvinf,status (…) [all...] |
/external/icu/icu4j/samples/src/com/ibm/icu/samples/text/dateintervalformat/ |
DateIntervalFormatSample.java | 9 package com.ibm.icu.samples.text.dateintervalformat; 16 import com.ibm.icu.text.DateIntervalFormat; 37 System.out.println(" Use DateIntervalFormat to get Date interval format for pre-defined skeletons:"); 61 DateIntervalFormat dtitvfmtEn = DateIntervalFormat.getInstance(skeleton, ULocale.ENGLISH); 62 DateIntervalFormat dtitvfmtJa = DateIntervalFormat.getInstance(skeleton, ULocale.JAPANESE); 81 System.out.println(" Use DateIntervalFormat to create customized date interval format for yMMMd, Hm"); 105 // Get the DateIntervalFormat with the custom pattern 109 DateIntervalFormat dtitvfmtEn = DateIntervalFormat.getInstance(skeleton,ULocale.ENGLISH,dtitvinf) [all...] |
/external/icu/icu4c/source/i18n/ |
udateintervalformat.cpp | 43 LocalPointer<DateIntervalFormat> formatter( 44 DateIntervalFormat::createInstance(skel, Locale(locale), *status)); 63 delete (DateIntervalFormat*)formatter; 95 ((const DateIntervalFormat*)formatter)->format( &interval, res, fp, *status );
|
dtitvfmt.cpp | 68 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(DateIntervalFormat) 71 // Needed because these data members are modified by const methods of DateIntervalFormat. 75 DateIntervalFormat* U_EXPORT2 76 DateIntervalFormat::createInstance(const UnicodeString& skeleton, 82 DateIntervalFormat* U_EXPORT2 83 DateIntervalFormat::createInstance(const UnicodeString& skeleton, 104 DateIntervalFormat* U_EXPORT2 105 DateIntervalFormat::createInstance(const UnicodeString& skeleton, 112 DateIntervalFormat* U_EXPORT2 113 DateIntervalFormat::createInstance(const UnicodeString& skeleton [all...] |
/external/icu/icu4c/source/i18n/unicode/ |
dtitvfmt.h | 37 * DateIntervalFormat is a class for formatting and parsing date 49 * DateIntervalFormat formats a DateInterval into 174 * DateIntervalFormat needs the following information for correct 199 * DateIntervalFormat uses the same syntax as that of 206 * // the date interval object which the DateIntervalFormat formats on 210 * DateIntervalFormat* dtIntervalFmt = DateIntervalFormat::createInstance( 222 class U_I18N_API DateIntervalFormat : public Format { 226 * Construct a DateIntervalFormat from skeleton and the default locale. 238 static DateIntervalFormat* U_EXPORT2 createInstance [all...] |
dtitvinf.h | 35 * date time interval patterns. It is used by DateIntervalFormat. 38 * For most users, ordinary use of DateIntervalFormat does not need to create 40 * DateIntervalFormat will take care of it when creating a date interval 124 * The recommended way to create a DateIntervalFormat object is to pass in 126 * By using a Locale parameter, the DateIntervalFormat object is 130 * Users can also create DateIntervalFormat object 335 * DateIntervalFormat will need access to 340 * make DateIntervalFormat a friend of DateIntervalInfo. 342 friend class DateIntervalFormat;
|
/external/icu/icu4c/source/test/intltest/ |
dtifmtts.cpp | 46 if (exec) logln("TestSuite DateIntervalFormat"); 63 * Test various generic API methods of DateIntervalFormat for API coverage. 70 logln("Testing DateIntervalFormat create instance with default locale and skeleton"); 72 DateIntervalFormat* dtitvfmt = DateIntervalFormat::createInstance(UDAT_YEAR_MONTH_DAY, status); 74 dataerrln("ERROR: Could not create DateIntervalFormat (skeleton + default locale) - exitting"); 84 logln("Testing DateIntervalFormat create instance with given locale and skeleton"); 86 dtitvfmt = DateIntervalFormat::createInstance(UDAT_YEAR_MONTH_DAY, Locale::getJapanese(), status); 88 dataerrln("ERROR: Could not create DateIntervalFormat (skeleton + locale) - exitting"); 98 logln("Testing DateIntervalFormat create instance with dateIntervalInfo and skeleton") [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
DateIntervalFormatTest.java | 33 import android.icu.text.DateIntervalFormat; [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
DateIntervalFormatTest.java | 32 import com.ibm.icu.text.DateIntervalFormat; [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
DateIntervalFormat.java | 36 * DateIntervalFormat is a class for formatting and parsing date 48 * DateIntervalFormat formats a DateInterval into 168 * DateIntervalFormat needs the following information for correct 193 * DateIntervalFormat uses the same syntax as that of 200 * // the date interval object which the DateIntervalFormat formats on 203 * DateIntervalFormat dtIntervalFmt = DateIntervalFormat.getInstance( 217 * import android.icu.text.DateIntervalFormat; 220 * // Get DateIntervalFormat instance using default locale 221 * DateIntervalFormat dtitvfmt = DateIntervalFormat.getInstance(YEAR_MONTH_DAY) [all...] |
DateIntervalInfo.java | 41 * date time interval patterns. It is used by DateIntervalFormat. 44 * For most users, ordinary use of DateIntervalFormat does not need to create 46 * DateIntervalFormat will take care of it when creating a date interval 132 * The recommended way to create a DateIntervalFormat object is to pass in 134 * By using a Locale parameter, the DateIntervalFormat object is 138 * Users can also create DateIntervalFormat object 279 // it is shared with DateIntervalFormat. [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
DateIntervalFormat.java | 35 * DateIntervalFormat is a class for formatting and parsing date 47 * DateIntervalFormat formats a DateInterval into 167 * DateIntervalFormat needs the following information for correct 192 * DateIntervalFormat uses the same syntax as that of 199 * // the date interval object which the DateIntervalFormat formats on 202 * DateIntervalFormat dtIntervalFmt = DateIntervalFormat.getInstance( 216 * import com.ibm.icu.text.DateIntervalFormat; 219 * // Get DateIntervalFormat instance using default locale 220 * DateIntervalFormat dtitvfmt = DateIntervalFormat.getInstance(YEAR_MONTH_DAY) [all...] |
DateIntervalInfo.java | 40 * date time interval patterns. It is used by DateIntervalFormat. 43 * For most users, ordinary use of DateIntervalFormat does not need to create 45 * DateIntervalFormat will take care of it when creating a date interval 131 * The recommended way to create a DateIntervalFormat object is to pass in 133 * By using a Locale parameter, the DateIntervalFormat object is 137 * Users can also create DateIntervalFormat object 287 // it is shared with DateIntervalFormat. [all...] |
/external/icu/tools/srcgen/ |
common.sh | 53 ${SAMPLE_INPUT_DIR}/text/dateintervalformat/DateIntervalFormatSample.java \
|
/external/icu/tools/srcgen/src/main/java/com/android/icu4j/srcgen/ |
Icu4jTransform.java | 82 "android.icu.text.DateIntervalFormat", 247 "method:android.icu.text.DateIntervalFormat#DateIntervalFormat(String,DateIntervalInfo,SimpleDateFormat)", 248 "method:android.icu.text.DateIntervalFormat#getPatterns(Calendar,Calendar,Output<String>)", 249 "method:android.icu.text.DateIntervalFormat#getRawPatterns()", 250 "method:android.icu.text.DateIntervalFormat#parseObject(String,ParsePosition)", [all...] |
/external/icu/icu4c/source/test/perf/DateFmtPerf/ |
DateFmtPerf.h | 354 DateIntervalFormat* fmt(DateIntervalFormat::createInstance(skeleton, loc, status2));
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/ |
FormatHandler.java | 29 import android.icu.text.DateIntervalFormat; [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/ |
FormatHandler.java | 28 import com.ibm.icu.text.DateIntervalFormat; [all...] |
/libcore/luni/src/test/java/libcore/icu/ |
DateIntervalFormatTest.java | 23 import static libcore.icu.DateIntervalFormat.formatDateRange; 33 // These are the old CTS tests for DateIntervalFormat.formatDateRange.
|
/external/icu/icu4j/tools/build/ |
icu4j56.api3.gz | |
icu4j57.api3.gz | |
icu4j58.api3.gz | |