Home
last modified time | relevance | path

Searched refs:formatDate (Results 1 – 4 of 4) sorted by relevance

/cts/tests/security/src/android/keystore/cts/
DAuthorizationList.java395 private static String formatDate(Date date) { in formatDate() method in AuthorizationList
652 s.append("\nActive: ").append(formatDate(activeDateTime)); in toString()
656 s.append("\nOrigination expire: ").append(formatDate(originationExpireDateTime)); in toString()
660 s.append("\nUsage expire: ").append(formatDate(usageExpireDateTime)); in toString()
675 s.append("\nCreated: ").append(formatDate(creationDateTime)); in toString()
/cts/tests/tests/text/src/android/text/format/cts/
DDateFormatTest.java211 Date formatDate = new Date(YEAR_FROM_1900, MONTH, DAY); in testFormatMethods() local
212 actual = DateFormat.format(format, formatDate); in testFormatMethods()
214 actual = DateFormat.format(format, formatDate.getTime()); in testFormatMethods()
/cts/libs/testserver/src/android/webkit/cts/
DCtsTestServer.java765 String expires = DateUtils.formatDate(new Date(time + mDocValidity), in setDateHeaders()
770 String modified = DateUtils.formatDate(new Date(time - mDocAge), in setDateHeaders()
775 response.addHeader("Date", DateUtils.formatDate(new Date(), DateUtils.PATTERN_RFC1123)); in setDateHeaders()
DTestWebServer.java443 response.addHeader("Date", DateUtils.formatDate(new Date(), DateUtils.PATTERN_RFC1123)); in setDateHeaders()