Home
last modified time | relevance | path

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

/cts/tests/tests/text/src/android/text/format/cts/
DDateFormatTest.java212 Date formatDate = new Date(YEAR_FROM_1900, MONTH, DAY); in testFormatMethods() local
213 actual = DateFormat.format(format, formatDate); in testFormatMethods()
215 actual = DateFormat.format(format, formatDate.getTime()); in testFormatMethods()
/cts/tests/security/src/android/keystore/cts/
DAuthorizationList.java542 private static String formatDate(Date date) { in formatDate() method in AuthorizationList
830 s.append("\nActive: ").append(formatDate(activeDateTime)); in toString()
834 s.append("\nOrigination expire: ").append(formatDate(originationExpireDateTime)); in toString()
838 s.append("\nUsage expire: ").append(formatDate(usageExpireDateTime)); in toString()
853 s.append("\nCreated: ").append(formatDate(creationDateTime)); in toString()
/cts/libs/testserver/src/android/webkit/cts/
DCtsTestServer.java944 String expires = DateUtils.formatDate(new Date(time + mDocValidity), in setDateHeaders()
949 String modified = DateUtils.formatDate(new Date(time - mDocAge), in setDateHeaders()
954 response.addHeader("Date", DateUtils.formatDate(new Date(), DateUtils.PATTERN_RFC1123)); in setDateHeaders()