/external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/ |
D | DateFormatPerformanceTest.java | 19 private String dateString; field in DateFormatPerformanceTest 50 dateString = args[1]; in setup() 51 date = icuDateFormat[0].parse(dateString); in setup() 80 icuDateFormat[id].parse(dateString); 92 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 | 280 UChar dateString[30], pattern[20], tzID[4]; in Test4060212() local 281 u_uastrcpy(dateString, "1995-040.05:01:29 -8"); in Test4060212() 284 log_verbose( "dateString= %s Using yyyy-DDD.hh:mm:ss\n", austrdup(dateString) ); in Test4060212() 290 myDate = udat_parse(formatter, dateString, u_strlen(dateString), &pos, &status); in Test4060212() 327 UChar pattern[21], dateString[11]; in Test4061287() local 329 u_uastrcpy(dateString, "35/13/1971"); in Test4061287() 346 myDate = udat_parse(df, dateString, u_strlen(dateString), &pos, &status); in Test4061287()
|
D | cdtdptst.c | 309 UChar *dateString; in TestQuotePattern161() local 337 dateString = myDateFormat(format, currentTime_1); in TestQuotePattern161() 341 log_verbose("%s\n", austrdup(dateString) ); in TestQuotePattern161() 342 if(u_strncmp(dateString, exp, (int32_t)strlen(expStr)) !=0) in TestQuotePattern161()
|
/external/icu/icu4c/source/test/intltest/ |
D | dtfmrgts.cpp | 342 UnicodeString dateString = "1995-040.05:01:29"; in Test4060212() local 344 logln( "dateString= " + dateString ); in Test4060212() 350 UDate myDate = formatter->parse( dateString, pos ); in Test4060212() 379 myDate = formatter->parse( dateString, pos ); in Test4060212() 950 UnicodeString dateString = strings[i]; in Test4106807() local 953 dt = format->parse(dateString, status); in Test4106807() 1060 UnicodeString dateString("Thursday, 31-Dec-98 23:00:00 GMT"); in Test4151706() local 1065 UDate d = fmt.parse(dateString, status); in Test4151706() 1075 logln(dateString + " -> " + fmt.format(d, temp, pos)); in Test4151706() 1086 UnicodeString dateString("Thu, 30-Jul-1999 11:51:14 GMT"); in Test4162071() local [all …]
|
D | dtfmttst.cpp | 856 UnicodeString dateString("1995-040.05:01:29"); in TestLetterDPattern212() local 862 logln((UnicodeString)"dateString= " + dateString); in TestLetterDPattern212() 870 UDate myDate = formatter->parse(dateString, pos); in TestLetterDPattern212() 877 myDate = formatter->parse(dateString, pos); in TestLetterDPattern212() 949 UnicodeString dateString; ((DateFormat*)formatter)->format(currentTime_1, dateString); in TestQuotePattern161() local 951 logln((UnicodeString)"format(" + dateToString(currentTime_1) + ") = " + dateString); in TestQuotePattern161() 952 …if (0 != dateString.compareBetween(0, exp.length(), exp, 0, exp.length())) errln((UnicodeString)"F… in TestQuotePattern161() 3807 UnicodeString dateString; member 3850 UDate date1 = formatter->parse(itemPtr->dateString, status); in TestNumberAsStringParsing() 3854 …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 | 532 private static String dateString(long date) { in dateString() method in CurrencyMetaInfo 547 s = dateString(((Date)v).getTime()); in debugString() 549 s = dateString(((Long)v).longValue()); in debugString()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | CurrencyMetaInfo.java | 577 private static String dateString(long date) { in dateString() method in CurrencyMetaInfo 592 s = dateString(((Date)v).getTime()); in debugString() 594 s = dateString(((Long)v).longValue()); in debugString()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | DateFormatRegressionTest.java | 245 String dateString = "1995-040.05:01:29"; in Test4060212() local 246 logln("dateString= " + dateString); in Test4060212() 250 Date myDate = formatter.parse(dateString, pos); in Test4060212() 262 myDate = formatter.parse(dateString, pos); in Test4060212() 625 String dateString = strings[i]; in Test4106807() local 628 dt = format.parse(dateString); in Test4106807() 720 String dateString = "Thursday, 31-Dec-98 23:00:00 GMT"; in Test4151706() local 727 d = fmt.parse(dateString); in Test4151706() 736 logln(dateString + " . " + fmt.format(d, temp, pos)); in Test4151706() 745 String dateString = "Thu, 30-Jul-1999 11:51:14 GMT"; in Test4162071() local [all …]
|
D | DateFormatTest.java | 1692 String dateString = "1995-040.05:01:29"; in TestLetterDPattern212() local 1701 logln("dateString= " + dateString); in TestLetterDPattern212() 1704 Date myDate = formatter.parse(dateString, pos); in TestLetterDPattern212() 1710 myDate = formatter.parse(dateString, pos); in TestLetterDPattern212() 1765 String dateString = ((DateFormat) formatter).format(currentTime_1); in TestQuotePattern161() local 1767 logln("format(" + currentTime_1 + ") = " + dateString); in TestQuotePattern161() 1768 if (!dateString.substring(0, exp.length()).equals(exp)) in TestQuotePattern161() 4130 public String[] dateString; in TestMonthPatterns() field in DateFormatTest.MonthPatternItem 4135 dateString = new String[3]; in TestMonthPatterns() 4136 dateString[0] = dateStr0; in TestMonthPatterns() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/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() 629 String dateString = strings[i]; in Test4106807() local 632 dt = format.parse(dateString); in Test4106807() 724 String dateString = "Thursday, 31-Dec-98 23:00:00 GMT"; in Test4151706() local 731 d = fmt.parse(dateString); in Test4151706() 740 logln(dateString + " . " + fmt.format(d, temp, pos)); in Test4151706() 749 String dateString = "Thu, 30-Jul-1999 11:51:14 GMT"; in Test4162071() local [all …]
|
D | DateFormatTest.java | 1696 String dateString = "1995-040.05:01:29"; in TestLetterDPattern212() local 1705 logln("dateString= " + dateString); in TestLetterDPattern212() 1708 Date myDate = formatter.parse(dateString, pos); in TestLetterDPattern212() 1714 myDate = formatter.parse(dateString, pos); in TestLetterDPattern212() 1769 String dateString = ((DateFormat) formatter).format(currentTime_1); in TestQuotePattern161() local 1771 logln("format(" + currentTime_1 + ") = " + dateString); in TestQuotePattern161() 1772 if (!dateString.substring(0, exp.length()).equals(exp)) in TestQuotePattern161() 4134 public String[] dateString; in TestMonthPatterns() field in DateFormatTest.MonthPatternItem 4139 dateString = new String[3]; in TestMonthPatterns() 4140 dateString[0] = dateStr0; in TestMonthPatterns() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | reldtfmt.cpp | 288 UnicodeString dateString; in parse() local 301 fDateTimeFormatter->format(*tempCal, dateString, fPos); in parse() 304 modDateLen = dateString.length(); in parse() 305 modifiedText.replace(dateStart, origDateLen, dateString); in parse()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
D | HebrewTest.java | 470 String dateString = df.format(hc.getTime()); in Test1624() local 482 dateString = df.format(hc.getTime()); in Test1624() 487 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 | 466 String dateString = df.format(hc.getTime()); in Test1624() local 478 dateString = df.format(hc.getTime()); in Test1624() 483 String header = "year:" + year + " isleap:" + leapYear + " " + dateString; in Test1624()
|
/external/pdfium/xfa/src/fxfa/src/fm2js/ |
D | xfa_fm2jscontext.cpp | 932 CFX_ByteString dateString; in Date2Num() local 941 HValueToUTF8String(dateValue, dateString); in Date2Num() 961 FX_BOOL bRet = Local2IsoDate(hThis, dateString, formatString, localString, in Date2Num()
|