Home
last modified time | relevance | path

Searched refs:dateStr (Results 1 – 25 of 34) sorted by relevance

12

/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/util/
DStdDateFormat.java363 public Date parse(String dateStr) throws ParseException in parse() argument
365 dateStr = dateStr.trim(); in parse()
367 Date dt = _parseDate(dateStr, pos); in parse()
383 dateStr, sb.toString()), pos.getErrorIndex()); in parse()
388 public Date parse(String dateStr, ParsePosition pos) in parse() argument
391 return _parseDate(dateStr, pos); in parse()
398 protected Date _parseDate(String dateStr, ParsePosition pos) throws ParseException in _parseDate() argument
400 if (looksLikeISO8601(dateStr)) { // also includes "plain" in _parseDate()
401 return parseAsISO8601(dateStr, pos); in _parseDate()
404 int i = dateStr.length(); in _parseDate()
[all …]
/external/icu/icu4c/source/test/intltest/
Dtzoffloc.cpp201 UnicodeString dateStr; in TestGetOffsetAroundTransition() local
213 dateStr.remove(); in TestGetOffsetAroundTransition()
214 df.format(MILLIS[d], dateStr); in TestGetOffsetAroundTransition()
216 + dateStr + "(standard) - Got: " + offset + " Expected: " + OFFSETS1[d]); in TestGetOffsetAroundTransition()
230 dateStr.remove(); in TestGetOffsetAroundTransition()
231 df.format(MILLIS[m], dateStr); in TestGetOffsetAroundTransition()
233 + dateStr + "(wall) - Got: " in TestGetOffsetAroundTransition()
251 dateStr.remove(); in TestGetOffsetAroundTransition()
252 df.format(MILLIS[m], dateStr); in TestGetOffsetAroundTransition()
254 + dateStr + "(wall/kStandard/kStandard) - Got: " in TestGetOffsetAroundTransition()
[all …]
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ext/
DTestCoreXMLTypes.java70 private String removeZ(String dateStr) { in removeZ() argument
71 if (dateStr.endsWith("Z")) { in removeZ()
72 return dateStr.substring(0, dateStr.length()-1); in removeZ()
74 if (dateStr.endsWith("+0000")) { in removeZ()
75 return dateStr.substring(0, dateStr.length()-5); in removeZ()
77 if (dateStr.endsWith("+00:00")) { in removeZ()
78 return dateStr.substring(0, dateStr.length()-6); in removeZ()
80 return dateStr; in removeZ()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/jdk/
DTimestampDeserializationTest.java24 String dateStr = serializeTimestampAsString(value); in testTimestampUtil() local
25 java.sql.Timestamp result = MAPPER.readValue("\""+dateStr+"\"", java.sql.Timestamp.class); in testTimestampUtil()
41 String dateStr = serializeTimestampAsString(value); in testTimestampUtilSingleElementArray() local
42 java.sql.Timestamp result = r.readValue("[\""+dateStr+"\"]"); in testTimestampUtilSingleElementArray()
/external/volley/src/main/java/com/android/volley/toolbox/
DHttpHeaderParser.java148 public static long parseDateAsEpoch(String dateStr) { in parseDateAsEpoch() argument
151 return newUsGmtFormatter(RFC1123_PARSE_FORMAT).parse(dateStr).getTime(); in parseDateAsEpoch()
157 if ("0".equals(dateStr) || "-1".equals(dateStr)) { in parseDateAsEpoch()
158 VolleyLog.v(message, dateStr); in parseDateAsEpoch()
160 VolleyLog.e(e, message, dateStr); in parseDateAsEpoch()
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/main/java/org/mockftpserver/fake/filesystem/
DWindowsDirectoryListingFormatter.java42 String dateStr = dateFormat.format(fileSystemEntry.getLastModified()); in format() local
46 return dateStr + " " + dirOrSize + " " + fileSystemEntry.getName(); in format()
DUnixDirectoryListingFormatter.java52 String dateStr = dateFormat.format(fileSystemEntry.getLastModified()); in format() local
60 …+ linkCountStr + " " + ownerStr + " " + groupStr + " " + sizeStr + " " + dateStr + " " + fileSyste… in format()
/external/mockftpserver/tags/2.0.1/src/main/java/org/mockftpserver/fake/filesystem/
DWindowsDirectoryListingFormatter.java42 String dateStr = dateFormat.format(fileSystemEntry.getLastModified()); in format() local
46 return dateStr + " " + dirOrSize + " " + fileSystemEntry.getName(); in format()
DUnixDirectoryListingFormatter.java52 String dateStr = dateFormat.format(fileSystemEntry.getLastModified()); in format() local
60 …+ linkCountStr + " " + ownerStr + " " + groupStr + " " + sizeStr + " " + dateStr + " " + fileSyste… in format()
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/main/java/org/mockftpserver/fake/filesystem/
DWindowsDirectoryListingFormatter.java42 String dateStr = dateFormat.format(fileSystemEntry.getLastModified()); in format() local
46 return dateStr + " " + dirOrSize + " " + fileSystemEntry.getName(); in format()
DUnixDirectoryListingFormatter.java52 String dateStr = dateFormat.format(fileSystemEntry.getLastModified()); in format() local
60 …+ linkCountStr + " " + ownerStr + " " + groupStr + " " + sizeStr + " " + dateStr + " " + fileSyste… in format()
/external/mockftpserver/tags/2.0-rc1/src/main/java/org/mockftpserver/fake/filesystem/
DWindowsDirectoryListingFormatter.java42 String dateStr = dateFormat.format(fileSystemEntry.getLastModified()); in format() local
46 return dateStr + " " + dirOrSize + " " + fileSystemEntry.getName(); in format()
DUnixDirectoryListingFormatter.java52 String dateStr = dateFormat.format(fileSystemEntry.getLastModified()); in format() local
60 …+ linkCountStr + " " + ownerStr + " " + groupStr + " " + sizeStr + " " + dateStr + " " + fileSyste… in format()
/external/mockftpserver/tags/2.0/src/main/java/org/mockftpserver/fake/filesystem/
DWindowsDirectoryListingFormatter.java42 String dateStr = dateFormat.format(fileSystemEntry.getLastModified()); in format() local
46 return dateStr + " " + dirOrSize + " " + fileSystemEntry.getName(); in format()
DUnixDirectoryListingFormatter.java52 String dateStr = dateFormat.format(fileSystemEntry.getLastModified()); in format() local
60 …+ linkCountStr + " " + ownerStr + " " + groupStr + " " + sizeStr + " " + dateStr + " " + fileSyste… in format()
/external/mockftpserver/tags/2.4/src/main/java/org/mockftpserver/fake/filesystem/
DWindowsDirectoryListingFormatter.java43 String dateStr = dateFormat.format(fileSystemEntry.getLastModified()); in format() local
47 return dateStr + " " + dirOrSize + " " + fileSystemEntry.getName(); in format()
/external/mockftpserver/tags/2.2/src/main/java/org/mockftpserver/fake/filesystem/
DWindowsDirectoryListingFormatter.java43 String dateStr = dateFormat.format(fileSystemEntry.getLastModified()); in format() local
47 return dateStr + " " + dirOrSize + " " + fileSystemEntry.getName(); in format()
DUnixDirectoryListingFormatter.java55 String dateStr = dateFormat.format(fileSystemEntry.getLastModified()); in format() local
63 …+ linkCountStr + " " + ownerStr + " " + groupStr + " " + sizeStr + " " + dateStr + " " + fileSyste… in format()
/external/mockftpserver/tags/2.3/src/main/java/org/mockftpserver/fake/filesystem/
DWindowsDirectoryListingFormatter.java43 String dateStr = dateFormat.format(fileSystemEntry.getLastModified()); in format() local
47 return dateStr + " " + dirOrSize + " " + fileSystemEntry.getName(); in format()
DUnixDirectoryListingFormatter.java55 String dateStr = dateFormat.format(fileSystemEntry.getLastModified()); in format() local
63 …+ linkCountStr + " " + ownerStr + " " + groupStr + " " + sizeStr + " " + dateStr + " " + fileSyste… in format()
/external/mockftpserver/tags/2.5/src/main/java/org/mockftpserver/fake/filesystem/
DWindowsDirectoryListingFormatter.java43 String dateStr = dateFormat.format(fileSystemEntry.getLastModified()); in format() local
47 return dateStr + " " + dirOrSize + " " + fileSystemEntry.getName(); in format()
/external/mockftpserver/tags/2.1/src/main/java/org/mockftpserver/fake/filesystem/
DWindowsDirectoryListingFormatter.java43 String dateStr = dateFormat.format(fileSystemEntry.getLastModified()); in format() local
47 return dateStr + " " + dirOrSize + " " + fileSystemEntry.getName(); in format()
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/filesystem/
DWindowsDirectoryListingFormatter.java43 String dateStr = dateFormat.format(fileSystemEntry.getLastModified()); in format() local
47 return dateStr + " " + dirOrSize + " " + fileSystemEntry.getName(); in format()
/external/mockftpserver/tags/2.0.2/src/main/java/org/mockftpserver/fake/filesystem/
DWindowsDirectoryListingFormatter.java43 String dateStr = dateFormat.format(fileSystemEntry.getLastModified()); in format() local
47 return dateStr + " " + dirOrSize + " " + fileSystemEntry.getName(); in format()
DUnixDirectoryListingFormatter.java55 String dateStr = dateFormat.format(fileSystemEntry.getLastModified()); in format() local
63 …+ linkCountStr + " " + ownerStr + " " + groupStr + " " + sizeStr + " " + dateStr + " " + fileSyste… in format()

12