Home
last modified time | relevance | path

Searched refs:dateFormat (Results 1 – 25 of 104) sorted by relevance

12345

/external/python/pyasn1/pyasn1/compat/
Ddateandtime.py16 def strptime(text, dateFormat): argument
17 return datetime(*(time.strptime(text, dateFormat)[0:6]))
21 def strptime(text, dateFormat): argument
22 return datetime.strptime(text, dateFormat)
/external/vogar/src/vogar/
DXmlReportReader.java107 SimpleDateFormat dateFormat = new SimpleDateFormat(XmlReportConstants.DATEFORMAT); in readTestSuite() local
108 dateFormat.setTimeZone(TimeZone.getTimeZone("GMT")); in readTestSuite()
109 dateFormat.setLenient(true); in readTestSuite()
112 date = dateFormat.parse(timestamp); in readTestSuite()
DOutcomeStore.java160 SimpleDateFormat dateFormat = new SimpleDateFormat(FILE_NAME_DATE_FORMAT); in getOutputFile() local
161 dateFormat.setTimeZone(TimeZone.getTimeZone("UTC")); in getOutputFile()
162 dateFormat.setLenient(true); in getOutputFile()
163 String timestamp = dateFormat.format(date); in getOutputFile()
DXmlReportPrinter.java65 SimpleDateFormat dateFormat = new SimpleDateFormat(XmlReportConstants.DATEFORMAT); in getGMTTimestamp() local
67 dateFormat.setTimeZone(gmt); in getGMTTimestamp()
68 dateFormat.setLenient(true); in getGMTTimestamp()
69 return dateFormat.format(date); in getGMTTimestamp()
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/page/
DSessionsPage.java49 private final DateFormat dateFormat; field in SessionsPage
83 this.dateFormat = DateFormat.getDateTimeInstance(DateFormat.DEFAULT, in SessionsPage()
124 tr.td().text(dateFormat.format(new Date(i.getStartTimeStamp()))); in sessionTable()
125 tr.td().text(dateFormat.format(new Date(i.getDumpTimeStamp()))); in sessionTable()
/external/icu/icu4c/source/test/intltest/
Ddtfmtrtts.cpp45 DateFormatRoundTripTest::DateFormatRoundTripTest() : dateFormat(0) { in DateFormatRoundTripTest()
49 delete dateFormat; in ~DateFormatRoundTripTest()
520 if (dateFormat == 0) { in fullFormat()
521 dateFormat = new SimpleDateFormat((UnicodeString)"EEE MMM dd HH:mm:ss.SSS zzz yyyy G", ec); in fullFormat()
522 if (U_FAILURE(ec) || dateFormat == 0) { in fullFormat()
524 delete dateFormat; in fullFormat()
525 dateFormat = 0; in fullFormat()
530 dateFormat->format(d, fgStr); in fullFormat()
/external/mockftpserver/tags/2.x_Before_IDEA/src/test/groovy/org/mockftpserver/fake/command/
DListCommandHandlerTest.groovy48 def dateFormat
132 dateFormat = new SimpleDateFormat(ListCommandHandler.DATE_FORMAT)
133 lastModifiedFormatted = dateFormat.format(LAST_MODIFIED)
137 def lastModifiedFormatted = dateFormat.format(lastModified)
142 def lastModifiedFormatted = dateFormat.format(lastModified)
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/main/java/org/mockftpserver/fake/filesystem/
DWindowsDirectoryListingFormatter.java41 DateFormat dateFormat = new SimpleDateFormat(DATE_FORMAT); in format() local
42 String dateStr = dateFormat.format(fileSystemEntry.getLastModified()); in format()
/external/mockftpserver/tags/2.0.1/src/main/java/org/mockftpserver/fake/filesystem/
DWindowsDirectoryListingFormatter.java41 DateFormat dateFormat = new SimpleDateFormat(DATE_FORMAT); in format() local
42 String dateStr = dateFormat.format(fileSystemEntry.getLastModified()); in format()
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/main/java/org/mockftpserver/fake/filesystem/
DWindowsDirectoryListingFormatter.java41 DateFormat dateFormat = new SimpleDateFormat(DATE_FORMAT); in format() local
42 String dateStr = dateFormat.format(fileSystemEntry.getLastModified()); in format()
/external/mockftpserver/tags/2.0-rc1/src/main/java/org/mockftpserver/fake/filesystem/
DWindowsDirectoryListingFormatter.java41 DateFormat dateFormat = new SimpleDateFormat(DATE_FORMAT); in format() local
42 String dateStr = dateFormat.format(fileSystemEntry.getLastModified()); in format()
/external/mockftpserver/tags/2.0/src/main/java/org/mockftpserver/fake/filesystem/
DWindowsDirectoryListingFormatter.java41 DateFormat dateFormat = new SimpleDateFormat(DATE_FORMAT); in format() local
42 String dateStr = dateFormat.format(fileSystemEntry.getLastModified()); in format()
/external/mockftpserver/tags/2.4/src/main/java/org/mockftpserver/fake/filesystem/
DWindowsDirectoryListingFormatter.java42 DateFormat dateFormat = new SimpleDateFormat(DATE_FORMAT, Locale.ENGLISH); in format() local
43 String dateStr = dateFormat.format(fileSystemEntry.getLastModified()); in format()
/external/mockftpserver/tags/2.2/src/main/java/org/mockftpserver/fake/filesystem/
DWindowsDirectoryListingFormatter.java42 DateFormat dateFormat = new SimpleDateFormat(DATE_FORMAT, Locale.ENGLISH); in format() local
43 String dateStr = dateFormat.format(fileSystemEntry.getLastModified()); in format()
/external/mockftpserver/tags/2.3/src/main/java/org/mockftpserver/fake/filesystem/
DWindowsDirectoryListingFormatter.java42 DateFormat dateFormat = new SimpleDateFormat(DATE_FORMAT, Locale.ENGLISH); in format() local
43 String dateStr = dateFormat.format(fileSystemEntry.getLastModified()); in format()
/external/mockftpserver/tags/2.5/src/main/java/org/mockftpserver/fake/filesystem/
DWindowsDirectoryListingFormatter.java42 DateFormat dateFormat = new SimpleDateFormat(DATE_FORMAT, Locale.ENGLISH); in format() local
43 String dateStr = dateFormat.format(fileSystemEntry.getLastModified()); in format()
/external/mockftpserver/tags/2.1/src/main/java/org/mockftpserver/fake/filesystem/
DWindowsDirectoryListingFormatter.java42 DateFormat dateFormat = new SimpleDateFormat(DATE_FORMAT, Locale.ENGLISH); in format() local
43 String dateStr = dateFormat.format(fileSystemEntry.getLastModified()); in format()
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/filesystem/
DWindowsDirectoryListingFormatter.java42 DateFormat dateFormat = new SimpleDateFormat(DATE_FORMAT, Locale.ENGLISH); in format() local
43 String dateStr = dateFormat.format(fileSystemEntry.getLastModified()); in format()
/external/mockftpserver/tags/2.0.2/src/main/java/org/mockftpserver/fake/filesystem/
DWindowsDirectoryListingFormatter.java42 DateFormat dateFormat = new SimpleDateFormat(DATE_FORMAT, Locale.ENGLISH); in format() local
43 String dateStr = dateFormat.format(fileSystemEntry.getLastModified()); in format()
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/test/groovy/org/mockftpserver/fake/filesystem/
DWindowsDirectoryListingFormatterTest.groovy36 private dateFormat
60 dateFormat = new SimpleDateFormat(WindowsDirectoryListingFormatter.DATE_FORMAT)
61 lastModifiedFormatted = dateFormat.format(LAST_MODIFIED)
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/test/groovy/org/mockftpserver/fake/filesystem/
DWindowsDirectoryListingFormatterTest.groovy36 private dateFormat
60 dateFormat = new SimpleDateFormat(WindowsDirectoryListingFormatter.DATE_FORMAT)
61 lastModifiedFormatted = dateFormat.format(LAST_MODIFIED)
/external/mockftpserver/tags/2.0-rc1/src/test/groovy/org/mockftpserver/fake/filesystem/
DWindowsDirectoryListingFormatterTest.groovy36 private dateFormat
60 dateFormat = new SimpleDateFormat(WindowsDirectoryListingFormatter.DATE_FORMAT)
61 lastModifiedFormatted = dateFormat.format(LAST_MODIFIED)
/external/mockftpserver/tags/2.0/src/test/groovy/org/mockftpserver/fake/filesystem/
DWindowsDirectoryListingFormatterTest.groovy36 private dateFormat
60 dateFormat = new SimpleDateFormat(WindowsDirectoryListingFormatter.DATE_FORMAT)
61 lastModifiedFormatted = dateFormat.format(LAST_MODIFIED)
/external/mockftpserver/tags/2.0.1/src/test/groovy/org/mockftpserver/fake/filesystem/
DWindowsDirectoryListingFormatterTest.groovy36 private dateFormat
60 dateFormat = new SimpleDateFormat(WindowsDirectoryListingFormatter.DATE_FORMAT)
61 lastModifiedFormatted = dateFormat.format(LAST_MODIFIED)
/external/mockftpserver/tags/2.1/src/test/groovy/org/mockftpserver/fake/filesystem/
DUnixDirectoryListingFormatterTest.groovy75 … def dateFormat = new SimpleDateFormat(UnixDirectoryListingFormatter.DATE_FORMAT, Locale.FRENCH)
76 def formattedDate = dateFormat.format(LAST_MODIFIED)
97 … def dateFormat = new SimpleDateFormat(UnixDirectoryListingFormatter.DATE_FORMAT, Locale.ENGLISH)
98 lastModifiedFormatted = dateFormat.format(LAST_MODIFIED)

12345