Home
last modified time | relevance | path

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

/external/webkit/Source/JavaScriptCore/wtf/
DDateMath.cpp568 double parseES5DateFromNullTerminatedCharacters(const char* dateString) in parseES5DateFromNullTerminatedCharacters() argument
576 const char* currentPosition = dateString; in parseES5DateFromNullTerminatedCharacters()
725 static double parseDateFromNullTerminatedCharacters(const char* dateString, bool& haveTZ, int& offs… in parseDateFromNullTerminatedCharacters() argument
745 skipSpacesAndComments(dateString); in parseDateFromNullTerminatedCharacters()
748 const char *wordStart = dateString; in parseDateFromNullTerminatedCharacters()
750 while (*dateString && !isASCIIDigit(*dateString)) { in parseDateFromNullTerminatedCharacters()
751 if (isASCIISpace(*dateString) || *dateString == '(') { in parseDateFromNullTerminatedCharacters()
752 if (dateString - wordStart >= 3) in parseDateFromNullTerminatedCharacters()
754 skipSpacesAndComments(dateString); in parseDateFromNullTerminatedCharacters()
755 wordStart = dateString; in parseDateFromNullTerminatedCharacters()
[all …]
DDateMath.h61 double parseES5DateFromNullTerminatedCharacters(const char* dateString);
62 double parseDateFromNullTerminatedCharacters(const char* dateString);
120 double parseDateFromNullTerminatedCharacters(ExecState*, const char* dateString);
/external/smack/src/org/jivesoftware/smack/util/
DStringUtils.java127 public static Date parseXEP0082Date(String dateString) throws ParseException { in parseXEP0082Date() argument
128 return parseDate(dateString); in parseXEP0082Date()
140 public static Date parseDate(String dateString) throws ParseException { in parseDate() argument
141 Matcher matcher = xep0091Pattern.matcher(dateString); in parseDate()
148 int length = dateString.split("T")[0].length(); in parseDate()
151 Date date = handleDateWithMissingLeadingZeros(dateString, length); in parseDate()
158 return xep0091Formatter.parse(dateString); in parseDate()
164 matcher = coupling.pattern.matcher(dateString); in parseDate()
169 dateString = coupling.convertTime(dateString); in parseDate()
173 return coupling.formatter.parse(dateString); in parseDate()
[all …]
/external/icu4c/test/cintltst/
Dcdtrgtst.c280 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()
326 UChar pattern[21], dateString[11]; in Test4061287() local
328 u_uastrcpy(dateString, "35/13/1971"); in Test4061287()
345 myDate = udat_parse(df, dateString, u_strlen(dateString), &pos, &status); in Test4061287()
Dcdtdptst.c307 UChar *dateString; in TestQuotePattern161() local
335 dateString = myDateFormat(format, currentTime_1); in TestQuotePattern161()
339 log_verbose("%s\n", austrdup(dateString) ); in TestQuotePattern161()
340 if(u_strncmp(dateString, exp, (int32_t)strlen(expStr)) !=0) in TestQuotePattern161()
/external/icu4c/test/intltest/
Ddtfmrgts.cpp338 UnicodeString dateString = "1995-040.05:01:29"; in Test4060212() local
340 logln( "dateString= " + dateString ); in Test4060212()
346 UDate myDate = formatter->parse( dateString, pos ); in Test4060212()
375 myDate = formatter->parse( dateString, pos ); in Test4060212()
946 UnicodeString dateString = strings[i]; in Test4106807() local
949 dt = format->parse(dateString, status); in Test4106807()
1056 UnicodeString dateString("Thursday, 31-Dec-98 23:00:00 GMT"); in Test4151706() local
1061 UDate d = fmt.parse(dateString, status); in Test4151706()
1071 logln(dateString + " -> " + fmt.format(d, temp, pos)); in Test4151706()
1082 UnicodeString dateString("Thu, 30-Jul-1999 11:51:14 GMT"); in Test4162071() local
[all …]
Ddtfmttst.cpp806 UnicodeString dateString("1995-040.05:01:29"); in TestLetterDPattern212() local
812 logln((UnicodeString)"dateString= " + dateString); in TestLetterDPattern212()
820 UDate myDate = formatter->parse(dateString, pos); in TestLetterDPattern212()
827 myDate = formatter->parse(dateString, pos); in TestLetterDPattern212()
899 UnicodeString dateString; ((DateFormat*)formatter)->format(currentTime_1, dateString); in TestQuotePattern161() local
901 logln((UnicodeString)"format(" + dateToString(currentTime_1) + ") = " + dateString); in TestQuotePattern161()
902 …if (0 != dateString.compareBetween(0, exp.length(), exp, 0, exp.length())) errln((UnicodeString)"F… in TestQuotePattern161()
3630 UnicodeString dateString; member
3672 UDate date1 = formatter->parse(itemPtr->dateString, status); in TestNumberAsStringParsing()
3676 …ttern \"" + itemPtr->datePattern + "\", could not parse \"" + itemPtr->dateString + "\"; err: " + … in TestNumberAsStringParsing()
[all …]
/external/webkit/Source/WebCore/html/
DFTPDirectoryDocument.cpp253 String dateString; in processFileDateString() local
256dateString = makeString(months[month], ' ', String::number(fileTime.tm_mday), ", ", String::number… in processFileDateString()
258dateString = makeString(months[month], ' ', String::number(fileTime.tm_mday), ", ", String::number… in processFileDateString()
260 return dateString + timeOfDay; in processFileDateString()
/external/icu4c/i18n/
Dreldtfmt.cpp247 UnicodeString dateString; in parse() local
260 fDateTimeFormatter->format(*tempCal, dateString, fPos); in parse()
263 modDateLen = dateString.length(); in parse()
264 modifiedText.replace(dateStart, origDateLen, dateString); in parse()
/external/webkit/Source/JavaScriptCore/
DChangeLog6157 in dateString is '+' or '-', do not try to parse the next token as a
DChangeLog-2007-10-143300 "Event check_after_deref: Pointer "dateString" dereferenced before NULL check"