Home
last modified time | relevance | path

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

12345

/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/
DSimpleDateFormat.java291 ((java.text.SimpleDateFormat)dateFormat).set2DigitYearStart(startDate); in set2DigitYearStart()
302 return ((java.text.SimpleDateFormat)dateFormat).get2DigitYearStart(); in get2DigitYearStart()
322 synchronized(dateFormat) { in format()
323 java.util.Calendar oldCal = dateFormat.getCalendar(); in format()
324 dateFormat.setCalendar(cal.calendar); in format()
325 result = dateFormat.format(cal.getTime(), toAppendTo, jdkPos); in format()
326 dateFormat.setCalendar(oldCal); in format()
351 cal.setTime(dateFormat.parse(text, parsePos)); in parse()
359 return ((java.text.SimpleDateFormat)dateFormat).toPattern(); in toPattern()
367 return ((java.text.SimpleDateFormat)dateFormat).toLocalizedPattern(); in toLocalizedPattern()
[all …]
DDateFormat.java121 public final java.text.DateFormat dateFormat; field in DateFormat
128 this.dateFormat = delegate; in DateFormat()
136 this.dateFormat = java.text.DateFormat.getDateTimeInstance( in DateFormat()
482 StringBuffer buf = dateFormat.format(date, toAppendTo, jdkPos); in format()
498 return dateFormat.format(date); in format()
515 return dateFormat.parse(text); in parse()
551 Date result = dateFormat.parse(text, pos); in parse()
577 return dateFormat.parse(text, pos); in parse()
1277 dateFormat.setCalendar(newCalendar.calendar); in setCalendar()
1287 return new Calendar(dateFormat.getCalendar()); in getCalendar()
[all …]
/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/icu/icu4c/source/test/intltest/
Ddtfmtrtts.cpp45 DateFormatRoundTripTest::DateFormatRoundTripTest() : dateFormat(0) { in DateFormatRoundTripTest()
49 delete dateFormat; in ~DateFormatRoundTripTest()
506 if (dateFormat == 0) { in fullFormat()
507 dateFormat = new SimpleDateFormat((UnicodeString)"EEE MMM dd HH:mm:ss.SSS zzz yyyy G", ec); in fullFormat()
508 if (U_FAILURE(ec) || dateFormat == 0) { in fullFormat()
510 delete dateFormat; in fullFormat()
511 dateFormat = 0; in fullFormat()
516 dateFormat->format(d, fgStr); in fullFormat()
/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
79 this.dateFormat = DateFormat.getDateTimeInstance(DateFormat.DEFAULT, in SessionsPage()
118 tr.td().text(dateFormat.format(new Date(i.getStartTimeStamp()))); in sessionTable()
119 tr.td().text(dateFormat.format(new Date(i.getDumpTimeStamp()))); in sessionTable()
/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/cldr/tools/java/org/unicode/cldr/icu/
DTestCldr.java434 int dateFormat = 0;
450 dateFormat = lookupValue(attributeValue, DateFormatNames);
466 SimpleDateFormat dt = getDateFormat(locale, dateFormat, timeFormat);
472 + DateFormatNames[dateFormat] + ",\tTime: "
481 private SimpleDateFormat getDateFormat(ULocale locale, int dateFormat,
489 if (dateFormat == 0) {
494 dt = DateFormat.getDateInstance(DateFormatValues[dateFormat], locale);
498 dt = DateFormat.getDateTimeInstance(DateFormatValues[dateFormat],
504 System.out.println("\tinput:\t" + dateFormat + ", " + timeFormat
/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-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.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.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-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-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/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.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.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.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.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/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()

12345