/external/apache-http/src/org/apache/http/impl/cookie/ |
D | DateUtils.java | 118 public static Date parseDate(final String dateValue, String[] dateFormats) in parseDate() argument 120 return parseDate(dateValue, dateFormats, null); in parseDate() 139 String[] dateFormats, in parseDate() argument 146 if (dateFormats == null) { in parseDate() 147 dateFormats = DEFAULT_PATTERNS; in parseDate() 161 for (String dateFormat : dateFormats) { in parseDate()
|
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/util/ |
D | GlobalizationPreferences.java | 667 if (dateFormats == null) { in setDateFormat() 668 dateFormats = new DateFormat[DF_LIMIT][DF_LIMIT]; in setDateFormat() 670 dateFormats[dateStyle][timeStyle] = (DateFormat) format.clone(); // for safety in setDateFormat() 694 if (dateFormats != null) { in getDateFormat() 695 result = dateFormats[dateStyle][timeStyle]; in getDateFormat() 771 dateFormats = null; in reset() 1174 private DateFormat[][] dateFormats; field in GlobalizationPreferences
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | GlobalizationPreferences.java | 641 if (dateFormats == null) { in setDateFormat() 642 dateFormats = new DateFormat[DF_LIMIT][DF_LIMIT]; in setDateFormat() 644 dateFormats[dateStyle][timeStyle] = (DateFormat) format.clone(); // for safety in setDateFormat() 667 if (dateFormats != null) { in getDateFormat() 668 result = dateFormats[dateStyle][timeStyle]; in getDateFormat() 741 dateFormats = null; in reset() 1134 private DateFormat[][] dateFormats; field in GlobalizationPreferences
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/ |
D | FormatTests.java | 1925 SimpleDateFormat dateFormats[] = new SimpleDateFormat[patterns.length * locales.length]; in getTestObjects() local 1930 … dateFormats[i++] = getCannedSimpleDateFormat(patterns[p], ULocale.forLocale(locales[l])); in getTestObjects() 1934 return dateFormats; in getTestObjects() 2010 … ChineseDateFormat dateFormats[] = new ChineseDateFormat[patterns.length * locales.length]; in getTestObjects() local 2017 dateFormats[i++] = new ChineseDateFormat(patterns[p], locale); in getTestObjects() 2021 return dateFormats; in getTestObjects()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/ |
D | FormatTests.java | 1924 SimpleDateFormat dateFormats[] = new SimpleDateFormat[patterns.length * locales.length]; in getTestObjects() local 1929 … dateFormats[i++] = getCannedSimpleDateFormat(patterns[p], ULocale.forLocale(locales[l])); in getTestObjects() 1933 return dateFormats; in getTestObjects() 2009 … ChineseDateFormat dateFormats[] = new ChineseDateFormat[patterns.length * locales.length]; in getTestObjects() local 2016 dateFormats[i++] = new ChineseDateFormat(patterns[p], locale); in getTestObjects() 2020 return dateFormats; in getTestObjects()
|
/external/icu/icu4c/source/test/intltest/ |
D | dtfmttst.cpp | 516 DateFormat* dateFormats[COUNT]; in TestFieldPosition() local 517 …dateFormats[0] = DateFormat::createDateTimeInstance(DateFormat::kFull, DateFormat::kFull, Locale::… in TestFieldPosition() 518 …dateFormats[1] = DateFormat::createDateTimeInstance(DateFormat::kFull, DateFormat::kFull, Locale::… in TestFieldPosition() 522 dateFormats[2] = new SimpleDateFormat(buf, Locale::getUS(), ec); in TestFieldPosition() 529 dateFormats[3] = new SimpleDateFormat(buf, Locale::getUS(), ec); in TestFieldPosition() 583 DateFormat* df = dateFormats[j]; in TestFieldPosition() 628 dateFormats[0]->format(aug13, buf, NULL, status); in TestFieldPosition() 632 delete dateFormats[i]; in TestFieldPosition()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | DateFormatTest.java | 353 DateFormat[] dateFormats = new DateFormat[COUNT]; in TestFieldPosition() local 354 … dateFormats[0] = DateFormat.getDateTimeInstance(DateFormat.FULL, DateFormat.FULL, Locale.US); in TestFieldPosition() 355 … dateFormats[1] = DateFormat.getDateTimeInstance(DateFormat.FULL, DateFormat.FULL, Locale.FRANCE); in TestFieldPosition() 359 dateFormats[2] = new SimpleDateFormat(buf.toString(), Locale.US); in TestFieldPosition() 366 dateFormats[3] = new SimpleDateFormat(buf.toString(), Locale.US); in TestFieldPosition() 456 DateFormat df = dateFormats[j]; in TestFieldPosition()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | DateFormatTest.java | 357 DateFormat[] dateFormats = new DateFormat[COUNT]; in TestFieldPosition() local 358 … dateFormats[0] = DateFormat.getDateTimeInstance(DateFormat.FULL, DateFormat.FULL, Locale.US); in TestFieldPosition() 359 … dateFormats[1] = DateFormat.getDateTimeInstance(DateFormat.FULL, DateFormat.FULL, Locale.FRANCE); in TestFieldPosition() 363 dateFormats[2] = new SimpleDateFormat(buf.toString(), Locale.US); in TestFieldPosition() 370 dateFormats[3] = new SimpleDateFormat(buf.toString(), Locale.US); in TestFieldPosition() 460 DateFormat df = dateFormats[j]; in TestFieldPosition()
|