Home
last modified time | relevance | path

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

123456

/external/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/
DAwsDates.java85 DateFormat dateFormat = new SimpleDateFormat(X_AMZ_DATE_FORMAT); in fromDateHeader() local
86 dateFormat.setTimeZone(TimeZone.getTimeZone("UTC")); in fromDateHeader()
89 String xAmzDate = dateFormat.format(inputDate); in fromDateHeader()
94 DateFormat dateFormat = new SimpleDateFormat(X_AMZ_DATE_FORMAT); in generateXAmzDate() local
95 dateFormat.setTimeZone(TimeZone.getTimeZone("UTC")); in generateXAmzDate()
96 String xAmzDate = dateFormat.format(new Date(System.currentTimeMillis())); in generateXAmzDate()
/external/threetenbp/src/main/java/org/threeten/bp/format/
DSimpleDateTimeFormatStyleProvider.java76 DateFormat dateFormat; in getFormatter() local
79dateFormat = DateFormat.getDateTimeInstance(convertStyle(dateStyle), convertStyle(timeStyle), loca… in getFormatter()
81 dateFormat = DateFormat.getDateInstance(convertStyle(dateStyle), locale); in getFormatter()
84 dateFormat = DateFormat.getTimeInstance(convertStyle(timeStyle), locale); in getFormatter()
86 if (dateFormat instanceof SimpleDateFormat) { in getFormatter()
87 String pattern = ((SimpleDateFormat) dateFormat).toPattern(); in getFormatter()
/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/gson/gson/src/main/java/com/google/gson/internal/bind/
DDateTypeAdapter.java81 for (DateFormat dateFormat : dateFormats) { in deserializeToDate()
83 return dateFormat.parse(s); in deserializeToDate()
100 DateFormat dateFormat = dateFormats.get(0); in write() local
103 dateFormatAsString = dateFormat.format(value); in write()
DDefaultDateTypeAdapter.java133 DateFormat dateFormat = dateFormats.get(0); in write() local
136 dateFormatAsString = dateFormat.format(value); in write()
154 for (DateFormat dateFormat : dateFormats) { in deserializeToDate()
156 return dateFormat.parse(s); in deserializeToDate()
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/page/
DSessionsPage.java50 private final DateFormat dateFormat; field in SessionsPage
84 this.dateFormat = DateFormat.getDateTimeInstance(DateFormat.DEFAULT, in SessionsPage()
125 tr.td().text(dateFormat.format(new Date(i.getStartTimeStamp()))); in sessionTable()
126 tr.td().text(dateFormat.format(new Date(i.getDumpTimeStamp()))); in sessionTable()
/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()
/external/cronet/stable/third_party/icu/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/cronet/tot/third_party/icu/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/icu/icu4c/source/test/intltest/
Ddtfmtrtts.cpp45 DateFormatRoundTripTest::DateFormatRoundTripTest() : dateFormat(nullptr) { in DateFormatRoundTripTest()
49 delete dateFormat; in ~DateFormatRoundTripTest()
524 if (dateFormat == nullptr) { in fullFormat()
525 dateFormat = new SimpleDateFormat(UnicodeString("EEE MMM dd HH:mm:ss.SSS zzz yyyy G"), ec); in fullFormat()
526 if (U_FAILURE(ec) || dateFormat == nullptr) { in fullFormat()
528 delete dateFormat; in fullFormat()
529 dateFormat = nullptr; in fullFormat()
534 dateFormat->format(d, fgStr); in fullFormat()
/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/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-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-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.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.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.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.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.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.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/src/test/groovy/org/mockftpserver/fake/filesystem/
DWindowsDirectoryListingFormatterTest.groovy36 private dateFormat
60 dateFormat = new SimpleDateFormat(WindowsDirectoryListingFormatter.DATE_FORMAT)
61 lastModifiedFormatted = dateFormat.format(LAST_MODIFIED)

123456