Searched refs:DateIntervalFormat (Results 1 - 22 of 22) sorted by relevance

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
H A DShadowDateIntervalFormat.java9 import libcore.icu.DateIntervalFormat;
13 @Implements(value = DateIntervalFormat.class, isInAndroidSdk = false, minSdk = KITKAT)
17 private static Map<Long, com.ibm.icu.text.DateIntervalFormat> INTERVAL_CACHE = new HashMap<>();
22 INTERVAL_CACHE.put(address, com.ibm.icu.text.DateIntervalFormat.getInstance(skeleton, new Locale(localeName)));
/external/icu/android_icu4j/src/samples/java/android/icu/samples/text/dateintervalformat/
H A DDateIntervalFormatSample.java17 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
[all...]
/external/icu/icu4j/samples/src/com/ibm/icu/samples/text/dateintervalformat/
H A DDateIntervalFormatSample.java16 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
[all...]
/external/icu/icu4c/source/i18n/unicode/
H A Ddtitvfmt.h37 * 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 { class in inherits:Format
226 * Construct a DateIntervalFormat from skeleton and the default locale.
238 static DateIntervalFormat* U_EXPORT
[all...]
H A Ddtitvinf.h35 * 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
333 * DateIntervalFormat will need access to
338 * make DateIntervalFormat a friend of DateIntervalInfo.
340 friend class DateIntervalFormat;
/external/icu/icu4c/source/samples/dtitvfmtsample/
H A Ddtitvfmtsample.cpp21 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* dtitvfmtE
[all...]
/external/icu/icu4c/source/i18n/
H A Dudateintervalformat.cpp43 LocalPointer<DateIntervalFormat> formatter(
44 DateIntervalFormat::createInstance(skel, Locale(locale), *status));
63 delete (DateIntervalFormat*)formatter;
95 ((const DateIntervalFormat*)formatter)->format( &interval, res, fp, *status );
H A Ddtitvfmt.cpp71 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(DateIntervalFormat)
74 // Needed because these data members are modified by const methods of DateIntervalFormat.
78 DateIntervalFormat* U_EXPORT2
79 DateIntervalFormat::createInstance(const UnicodeString& skeleton,
85 DateIntervalFormat* U_EXPORT2
86 DateIntervalFormat::createInstance(const UnicodeString& skeleton,
107 DateIntervalFormat* U_EXPORT2
108 DateIntervalFormat::createInstance(const UnicodeString& skeleton,
115 DateIntervalFormat* U_EXPORT2
116 DateIntervalFormat
125 DateIntervalFormat::DateIntervalFormat() function in class:DateIntervalFormat
137 DateIntervalFormat::DateIntervalFormat(const DateIntervalFormat& itvfmt) function in class:DateIntervalFormat
505 DateIntervalFormat::DateIntervalFormat(const Locale& locale, function in class:DateIntervalFormat
[all...]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
H A DDateIntervalFormatTest.java35 import android.icu.text.DateIntervalFormat;
722 DateIntervalFormat dtitvfmt = DateIntervalFormat.getInstance(
817 DateIntervalFormat dtitvfmt = DateIntervalFormat.getInstance(
887 DateIntervalFormat dtitvfmt = DateIntervalFormat.getInstance("yyyyMMMdd", loc);
888 //DateIntervalFormat dtitvfmt = DateIntervalFormat.getInstance("yMd");
1054 DateIntervalFormat dtitvfm
[all...]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A DDateIntervalFormatTest.java34 import com.ibm.icu.text.DateIntervalFormat;
719 DateIntervalFormat dtitvfmt = DateIntervalFormat.getInstance(
814 DateIntervalFormat dtitvfmt = DateIntervalFormat.getInstance(
884 DateIntervalFormat dtitvfmt = DateIntervalFormat.getInstance("yyyyMMMdd", loc);
885 //DateIntervalFormat dtitvfmt = DateIntervalFormat.getInstance("yMd");
1051 DateIntervalFormat dtitvfm
[all...]
/external/icu/icu4c/source/test/intltest/
H A Ddtifmtts.cpp46 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 creat
[all...]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
H A DShadowDateIntervalFormatTest.java14 import libcore.icu.DateIntervalFormat;
31 String actual = DateIntervalFormat.formatDateRange(ULocale.getDefault(), TimeZone.getDefault(), timeInMillis, timeInMillis, DateUtils.FORMAT_NUMERIC_DATE);
/external/icu/android_icu4j/src/main/java/android/icu/text/
H A DDateIntervalFormat.java36 * 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 dtitvfm
263 public class DateIntervalFormat extends UFormat { class in inherits:UFormat
354 private DateIntervalFormat() { method in class:DateIntervalFormat
375 public DateIntervalFormat(String skeleton, DateIntervalInfo dtItvInfo, method in class:DateIntervalFormat
389 private DateIntervalFormat(String skeleton, ULocale locale, method in class:DateIntervalFormat
[all...]
H A DDateIntervalInfo.java41 * 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.
1055 DateIntervalFormat.BestMatchInfo getBestSkeleton(String inputSkeleton) {
1121 return new DateIntervalFormat.BestMatchInfo(bestSkeleton, bestFieldDifference);
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DDateIntervalFormat.java35 * 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 dtitvfm
264 public class DateIntervalFormat extends UFormat { class in inherits:UFormat
355 private DateIntervalFormat() { method in class:DateIntervalFormat
375 public DateIntervalFormat(String skeleton, DateIntervalInfo dtItvInfo, method in class:DateIntervalFormat
389 private DateIntervalFormat(String skeleton, ULocale locale, method in class:DateIntervalFormat
[all...]
H A DDateIntervalInfo.java40 * 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.
1076 DateIntervalFormat.BestMatchInfo getBestSkeleton(String inputSkeleton) {
1142 return new DateIntervalFormat.BestMatchInfo(bestSkeleton, bestFieldDifference);
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/
H A DFormatHandler.java29 import android.icu.text.DateIntervalFormat;
2006 DateIntervalFormat dateIntervalFormats[] = {
2007 DateIntervalFormat.getInstance("yMMMMEEEEd")
2015 DateIntervalFormat dfa = (DateIntervalFormat) a;
2016 DateIntervalFormat dfb = (DateIntervalFormat) b;
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
H A DFormatHandler.java28 import com.ibm.icu.text.DateIntervalFormat;
2003 DateIntervalFormat dateIntervalFormats[] = {
2004 DateIntervalFormat.getInstance("yMMMMEEEEd")
2012 DateIntervalFormat dfa = (DateIntervalFormat) a;
2013 DateIntervalFormat dfb = (DateIntervalFormat) b;
/external/icu/icu4c/source/test/perf/DateFmtPerf/
H A DDateFmtPerf.h354 DateIntervalFormat* fmt(DateIntervalFormat::createInstance(skeleton, loc, status2));
/external/robolectric/v3/runtime/
H A Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...
H A Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...
H A Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...

Completed in 462 milliseconds