Searched refs:formatDate (Results 1 – 3 of 3) sorted by relevance
212 Date formatDate = new Date(YEAR_FROM_1900, MONTH, DAY); in testFormatMethods() local213 actual = DateFormat.format(format, formatDate); in testFormatMethods()215 actual = DateFormat.format(format, formatDate.getTime()); in testFormatMethods()
542 private static String formatDate(Date date) { in formatDate() method in AuthorizationList830 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()
944 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()