Home
last modified time | relevance | path

Searched refs:dateString (Results 1 – 19 of 19) sorted by relevance

/external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/
DDateFormatPerformanceTest.java21 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/
DLegacyHttpDateTime.java124 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()
DAndroidHttpClient.java504 public static long parseDate(String dateString) { in parseDate() argument
505 return LegacyHttpDateTime.parse(dateString); in parseDate()
/external/dng_sdk/source/
Ddng_iptc.cpp813 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/
Dcdtrgtst.c282 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()
Dcdtdptst.c311 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/
Ddtfmrgts.cpp346 UnicodeString dateString = "1995-040.05:01:29"; in Test4060212() local
348 logln( "dateString= " + dateString ); in Test4060212()
354 UDate myDate = formatter->parse( dateString, pos ); in Test4060212()
383 myDate = formatter->parse( dateString, pos ); in Test4060212()
954 UnicodeString dateString = strings[i]; in Test4106807() local
957 dt = format->parse(dateString, status); in Test4106807()
1064 UnicodeString dateString("Thursday, 31-Dec-98 23:00:00 GMT"); in Test4151706() local
1069 UDate d = fmt.parse(dateString, status); in Test4151706()
1079 logln(dateString + " -> " + fmt.format(d, temp, pos)); in Test4151706()
1090 UnicodeString dateString("Thu, 30-Jul-1999 11:51:14 GMT"); in Test4162071() local
[all …]
Ddtfmttst.cpp869 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()
3824 UnicodeString dateString; member
3867 UDate date1 = formatter->parse(itemPtr->dateString, status); in TestNumberAsStringParsing()
3871 …ttern \"" + itemPtr->datePattern + "\", could not parse \"" + itemPtr->dateString + "\"; err: " + … in TestNumberAsStringParsing()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateFormatRegressionTest.java257 String dateString = "1995-040.05:01:29"; in Test4060212() local
258 logln("dateString= " + dateString); in Test4060212()
262 Date myDate = formatter.parse(dateString, pos); in Test4060212()
274 myDate = formatter.parse(dateString, pos); in Test4060212()
649 String dateString = strings[i]; in Test4106807() local
652 dt = format.parse(dateString); in Test4106807()
748 String dateString = "Thursday, 31-Dec-98 23:00:00 GMT"; in Test4151706() local
755 d = fmt.parse(dateString); in Test4151706()
764 logln(dateString + " . " + fmt.format(d, temp, pos)); in Test4151706()
774 String dateString = "Thu, 30-Jul-1999 11:51:14 GMT"; in Test4162071() local
[all …]
DDateFormatTest.java1718 String dateString = "1995-040.05:01:29"; in TestLetterDPattern212() local
1727 logln("dateString= " + dateString); in TestLetterDPattern212()
1730 Date myDate = formatter.parse(dateString, pos); in TestLetterDPattern212()
1736 myDate = formatter.parse(dateString, pos); in TestLetterDPattern212()
1793 String dateString = ((DateFormat) formatter).format(currentTime_1); in TestQuotePattern161() local
1795 logln("format(" + currentTime_1 + ") = " + dateString); in TestQuotePattern161()
1796 if (!dateString.substring(0, exp.length()).equals(exp)) in TestQuotePattern161()
4200 public String[] dateString; in TestMonthPatterns() field in DateFormatTest.MonthPatternItem
4205 dateString = new String[3]; in TestMonthPatterns()
4206 dateString[0] = dateStr0; in TestMonthPatterns()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateFormatRegressionTest.java254 String dateString = "1995-040.05:01:29"; in Test4060212() local
255 logln("dateString= " + dateString); in Test4060212()
259 Date myDate = formatter.parse(dateString, pos); in Test4060212()
271 myDate = formatter.parse(dateString, pos); in Test4060212()
646 String dateString = strings[i]; in Test4106807() local
649 dt = format.parse(dateString); in Test4106807()
745 String dateString = "Thursday, 31-Dec-98 23:00:00 GMT"; in Test4151706() local
752 d = fmt.parse(dateString); in Test4151706()
761 logln(dateString + " . " + fmt.format(d, temp, pos)); in Test4151706()
771 String dateString = "Thu, 30-Jul-1999 11:51:14 GMT"; in Test4162071() local
[all …]
DDateFormatTest.java1715 String dateString = "1995-040.05:01:29"; in TestLetterDPattern212() local
1724 logln("dateString= " + dateString); in TestLetterDPattern212()
1727 Date myDate = formatter.parse(dateString, pos); in TestLetterDPattern212()
1733 myDate = formatter.parse(dateString, pos); in TestLetterDPattern212()
1790 String dateString = ((DateFormat) formatter).format(currentTime_1); in TestQuotePattern161() local
1792 logln("format(" + currentTime_1 + ") = " + dateString); in TestQuotePattern161()
1793 if (!dateString.substring(0, exp.length()).equals(exp)) in TestQuotePattern161()
4197 public String[] dateString; in TestMonthPatterns() field in DateFormatTest.MonthPatternItem
4202 dateString = new String[3]; in TestMonthPatterns()
4203 dateString[0] = dateStr0; in TestMonthPatterns()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DCurrencyMetaInfo.java581 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/android_icu4j/src/main/java/android/icu/text/
DCurrencyMetaInfo.java536 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/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowTime.java281 String dateString = rfc3339String in parse3339() local
293 millisInUtc = formatter.parse(dateString).getTime(); in parse3339()
299 millisInUtc = formatter.parse(dateString).getTime(); in parse3339()
/external/icu/icu4c/source/i18n/
Dreldtfmt.cpp286 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/
DHebrewTest.java484 String dateString = df.format(hc.getTime()); in Test1624() local
496 dateString = df.format(hc.getTime()); in Test1624()
501 String header = "year:" + year + " isleap:" + leapYear + " " + dateString; in Test1624()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DHebrewTest.java481 String dateString = df.format(hc.getTime()); in Test1624() local
493 dateString = df.format(hc.getTime()); in Test1624()
498 String header = "year:" + year + " isleap:" + leapYear + " " + dateString; in Test1624()
/external/pdfium/fxjs/
Dcfxjse_formcalc_context.cpp1135 ByteString dateString = ValueToUTF8String(dateValue.get()); in Date2Num() local
1157 Local2IsoDate(pThis, dateString.AsStringView(), in Date2Num()