/external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/ |
D | DateFormatPerformanceTest.java | 21 private String dateString; field in DateFormatPerformanceTest 52 dateString = args[1]; in setup() 53 date = icuDateFormat[0].parse(dateString); in setup() 82 icuDateFormat[id].parse(dateString); 94 jdkDateFormat[id].parse(dateString);
|
/external/apache-http/android/src/android/net/http/ |
D | LegacyHttpDateTime.java | 124 private static int getDate(String dateString) { in getDate() argument 125 if (dateString.length() == 2) { in getDate() 126 return (dateString.charAt(0) - '0') * 10 in getDate() 127 + (dateString.charAt(1) - '0'); in getDate() 129 return (dateString.charAt(0) - '0'); in getDate()
|
D | AndroidHttpClient.java | 504 public static long parseDate(String dateString) { in parseDate() argument 505 return LegacyHttpDateTime.parse(dateString); in parseDate()
|
/external/dng_sdk/source/ |
D | dng_iptc.cpp | 813 dng_string dateString = fDateTimeCreated.Encode_IPTC_Date (); in Spool() local 815 if (dateString.NotEmpty ()) in Spool() 818 DNG_ASSERT (dateString.Length () == 8, "Wrong length IPTC date"); in Spool() 825 stream.Put (dateString.Get (), 8); in Spool() 848 dng_string dateString = fDigitalCreationDateTime.Encode_IPTC_Date (); in Spool() local 850 if (dateString.NotEmpty ()) in Spool() 853 DNG_ASSERT (dateString.Length () == 8, "Wrong length IPTC date"); in Spool() 860 stream.Put (dateString.Get (), 8); in Spool()
|
/external/icu/icu4c/source/test/cintltst/ |
D | cdtrgtst.c | 282 UChar dateString[30], pattern[20], tzID[4]; in Test4060212() local 283 u_uastrcpy(dateString, "1995-040.05:01:29 -8"); in Test4060212() 286 log_verbose( "dateString= %s Using yyyy-DDD.hh:mm:ss\n", austrdup(dateString) ); in Test4060212() 292 myDate = udat_parse(formatter, dateString, u_strlen(dateString), &pos, &status); in Test4060212() 329 UChar pattern[21], dateString[11]; in Test4061287() local 331 u_uastrcpy(dateString, "35/13/1971"); in Test4061287() 348 myDate = udat_parse(df, dateString, u_strlen(dateString), &pos, &status); in Test4061287()
|
D | cdtdptst.c | 311 UChar *dateString; in TestQuotePattern161() local 339 dateString = myDateFormat(format, currentTime_1); in TestQuotePattern161() 343 log_verbose("%s\n", austrdup(dateString) ); in TestQuotePattern161() 344 if(u_strncmp(dateString, exp, (int32_t)strlen(expStr)) !=0) in TestQuotePattern161()
|
/external/icu/icu4c/source/test/intltest/ |
D | dtfmrgts.cpp | 345 UnicodeString dateString = "1995-040.05:01:29"; in Test4060212() local 347 logln( "dateString= " + dateString ); in Test4060212() 353 UDate myDate = formatter->parse( dateString, pos ); in Test4060212() 382 myDate = formatter->parse( dateString, pos ); in Test4060212() 953 UnicodeString dateString = strings[i]; in Test4106807() local 956 dt = format->parse(dateString, status); in Test4106807() 1063 UnicodeString dateString("Thursday, 31-Dec-98 23:00:00 GMT"); in Test4151706() local 1068 UDate d = fmt.parse(dateString, status); in Test4151706() 1078 logln(dateString + " -> " + fmt.format(d, temp, pos)); in Test4151706() 1089 UnicodeString dateString("Thu, 30-Jul-1999 11:51:14 GMT"); in Test4162071() local [all …]
|
D | dtfmttst.cpp | 869 UnicodeString dateString("1995-040.05:01:29"); in TestLetterDPattern212() local 875 logln((UnicodeString)"dateString= " + dateString); in TestLetterDPattern212() 883 UDate myDate = formatter->parse(dateString, pos); in TestLetterDPattern212() 890 myDate = formatter->parse(dateString, pos); in TestLetterDPattern212() 962 UnicodeString dateString; ((DateFormat*)formatter)->format(currentTime_1, dateString); in TestQuotePattern161() local 964 logln((UnicodeString)"format(" + dateToString(currentTime_1) + ") = " + dateString); in TestQuotePattern161() 965 …if (0 != dateString.compareBetween(0, exp.length(), exp, 0, exp.length())) errln((UnicodeString)"F… in TestQuotePattern161() 3820 UnicodeString dateString; member 3863 UDate date1 = formatter->parse(itemPtr->dateString, status); in TestNumberAsStringParsing() 3867 …ttern \"" + itemPtr->datePattern + "\", could not parse \"" + itemPtr->dateString + "\"; err: " + … in TestNumberAsStringParsing() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | CurrencyMetaInfo.java | 536 private static String dateString(long date) { in dateString() method in CurrencyMetaInfo 551 s = dateString(((Date)v).getTime()); in debugString() 553 s = dateString(((Long)v).longValue()); in debugString()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | CurrencyMetaInfo.java | 581 private static String dateString(long date) { in dateString() method in CurrencyMetaInfo 596 s = dateString(((Date)v).getTime()); in debugString() 598 s = dateString(((Long)v).longValue()); in debugString()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | DateFormatRegressionTest.java | 249 String dateString = "1995-040.05:01:29"; in Test4060212() local 250 logln("dateString= " + dateString); in Test4060212() 254 Date myDate = formatter.parse(dateString, pos); in Test4060212() 266 myDate = formatter.parse(dateString, pos); in Test4060212() 641 String dateString = strings[i]; in Test4106807() local 644 dt = format.parse(dateString); in Test4106807() 740 String dateString = "Thursday, 31-Dec-98 23:00:00 GMT"; in Test4151706() local 747 d = fmt.parse(dateString); in Test4151706() 756 logln(dateString + " . " + fmt.format(d, temp, pos)); in Test4151706() 766 String dateString = "Thu, 30-Jul-1999 11:51:14 GMT"; in Test4162071() local [all …]
|
D | DateFormatTest.java | 1711 String dateString = "1995-040.05:01:29"; in TestLetterDPattern212() local 1720 logln("dateString= " + dateString); in TestLetterDPattern212() 1723 Date myDate = formatter.parse(dateString, pos); in TestLetterDPattern212() 1729 myDate = formatter.parse(dateString, pos); in TestLetterDPattern212() 1786 String dateString = ((DateFormat) formatter).format(currentTime_1); in TestQuotePattern161() local 1788 logln("format(" + currentTime_1 + ") = " + dateString); in TestQuotePattern161() 1789 if (!dateString.substring(0, exp.length()).equals(exp)) in TestQuotePattern161() 4193 public String[] dateString; in TestMonthPatterns() field in DateFormatTest.MonthPatternItem 4198 dateString = new String[3]; in TestMonthPatterns() 4199 dateString[0] = dateStr0; in TestMonthPatterns() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | DateFormatRegressionTest.java | 250 String dateString = "1995-040.05:01:29"; in Test4060212() local 251 logln("dateString= " + dateString); in Test4060212() 255 Date myDate = formatter.parse(dateString, pos); in Test4060212() 267 myDate = formatter.parse(dateString, pos); in Test4060212() 642 String dateString = strings[i]; in Test4106807() local 645 dt = format.parse(dateString); in Test4106807() 741 String dateString = "Thursday, 31-Dec-98 23:00:00 GMT"; in Test4151706() local 748 d = fmt.parse(dateString); in Test4151706() 757 logln(dateString + " . " + fmt.format(d, temp, pos)); in Test4151706() 767 String dateString = "Thu, 30-Jul-1999 11:51:14 GMT"; in Test4162071() local [all …]
|
D | DateFormatTest.java | 1712 String dateString = "1995-040.05:01:29"; in TestLetterDPattern212() local 1721 logln("dateString= " + dateString); in TestLetterDPattern212() 1724 Date myDate = formatter.parse(dateString, pos); in TestLetterDPattern212() 1730 myDate = formatter.parse(dateString, pos); in TestLetterDPattern212() 1787 String dateString = ((DateFormat) formatter).format(currentTime_1); in TestQuotePattern161() local 1789 logln("format(" + currentTime_1 + ") = " + dateString); in TestQuotePattern161() 1790 if (!dateString.substring(0, exp.length()).equals(exp)) in TestQuotePattern161() 4194 public String[] dateString; in TestMonthPatterns() field in DateFormatTest.MonthPatternItem 4199 dateString = new String[3]; in TestMonthPatterns() 4200 dateString[0] = dateStr0; in TestMonthPatterns() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | reldtfmt.cpp | 286 UnicodeString dateString; in parse() local 299 fDateTimeFormatter->format(*tempCal, dateString, fPos); in parse() 302 modDateLen = dateString.length(); in parse() 303 modifiedText.replace(dateStart, origDateLen, dateString); in parse()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
D | HebrewTest.java | 479 String dateString = df.format(hc.getTime()); in Test1624() local 491 dateString = df.format(hc.getTime()); in Test1624() 496 String header = "year:" + year + " isleap:" + leapYear + " " + dateString; in Test1624()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
D | HebrewTest.java | 478 String dateString = df.format(hc.getTime()); in Test1624() local 490 dateString = df.format(hc.getTime()); in Test1624() 495 String header = "year:" + year + " isleap:" + leapYear + " " + dateString; in Test1624()
|
/external/pdfium/xfa/fxfa/fm2js/ |
D | xfa_fm2jscontext.cpp | 1037 CFX_ByteString dateString; in Date2Num() local 1038 ValueToUTF8String(dateValue.get(), dateString); in Date2Num() 1061 if (!Local2IsoDate(pThis, dateString.AsStringC(), formatString.AsStringC(), in Date2Num()
|