Home
last modified time | relevance | path

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

12345

/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/
DSimpleDateFormat.java289 ((java.text.SimpleDateFormat)dateFormat).set2DigitYearStart(startDate); in set2DigitYearStart()
300 return ((java.text.SimpleDateFormat)dateFormat).get2DigitYearStart(); in get2DigitYearStart()
320 synchronized(dateFormat) { in format()
321 java.util.Calendar oldCal = dateFormat.getCalendar(); in format()
322 dateFormat.setCalendar(cal.calendar); in format()
323 result = dateFormat.format(cal.getTime(), toAppendTo, jdkPos); in format()
324 dateFormat.setCalendar(oldCal); in format()
349 cal.setTime(dateFormat.parse(text, parsePos)); in parse()
357 return ((java.text.SimpleDateFormat)dateFormat).toPattern(); in toPattern()
365 return ((java.text.SimpleDateFormat)dateFormat).toLocalizedPattern(); in toLocalizedPattern()
[all …]
DDateFormat.java119 public final java.text.DateFormat dateFormat; field in DateFormat
126 this.dateFormat = delegate; in DateFormat()
134 this.dateFormat = java.text.DateFormat.getDateTimeInstance( in DateFormat()
480 StringBuffer buf = dateFormat.format(date, toAppendTo, jdkPos); in format()
496 return dateFormat.format(date); in format()
513 return dateFormat.parse(text); in parse()
549 Date result = dateFormat.parse(text, pos); in parse()
575 return dateFormat.parse(text, pos); in parse()
1275 dateFormat.setCalendar(newCalendar.calendar); in setCalendar()
1285 return new Calendar(dateFormat.getCalendar()); in getCalendar()
[all …]
/external/icu/icu4c/source/test/intltest/
Ddtfmtrtts.cpp43 DateFormatRoundTripTest::DateFormatRoundTripTest() : dateFormat(0) { in DateFormatRoundTripTest()
47 delete dateFormat; in ~DateFormatRoundTripTest()
504 if (dateFormat == 0) { in fullFormat()
505 dateFormat = new SimpleDateFormat((UnicodeString)"EEE MMM dd HH:mm:ss.SSS zzz yyyy G", ec); in fullFormat()
506 if (U_FAILURE(ec) || dateFormat == 0) { in fullFormat()
508 delete dateFormat; in fullFormat()
509 dateFormat = 0; in fullFormat()
514 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()
/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/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/cldr/
DTestCLDRVsICU.java426 int dateFormat = 0;
454 dateFormat = index;
464 SimpleDateFormat dt = getDateFormat(locale, dateFormat, timeFormat);
470 "\n\tDate: " + DateFormatNames[dateFormat] +
479 private SimpleDateFormat getDateFormat(ULocale locale, int dateFormat, int timeFormat) {
486 if (dateFormat == 0) {
491 dt = DateFormat.getDateInstance(DateFormatValues[dateFormat], locale);
495 … dt = DateFormat.getDateTimeInstance(DateFormatValues[dateFormat], DateFormatValues[timeFormat],
501 …logln("\tinput:\t" + dateFormat + ", " + timeFormat + " => " + ((SimpleDateFormat) dt).toPattern()…
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/cldr/
DTestCLDRVsICU.java430 int dateFormat = 0;
458 dateFormat = index;
468 SimpleDateFormat dt = getDateFormat(locale, dateFormat, timeFormat);
474 "\n\tDate: " + DateFormatNames[dateFormat] +
483 private SimpleDateFormat getDateFormat(ULocale locale, int dateFormat, int timeFormat) {
490 if (dateFormat == 0) {
495 dt = DateFormat.getDateInstance(DateFormatValues[dateFormat], locale);
499 … dt = DateFormat.getDateTimeInstance(DateFormatValues[dateFormat], DateFormatValues[timeFormat],
505 …logln("\tinput:\t" + dateFormat + ", " + timeFormat + " => " + ((SimpleDateFormat) dt).toPattern()…
/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.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-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-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/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.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.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/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.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/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)

12345