Home
last modified time | relevance | path

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

/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/
DResponseCacheTest.java185 .addHeader("Last-Modified: " + formatDate(-1, TimeUnit.HOURS)) in assertCached()
186 .addHeader("Expires: " + formatDate(1, TimeUnit.HOURS)) in assertCached()
232 .addHeader("Last-Modified: " + formatDate(-1, TimeUnit.HOURS)) in testResponseCaching()
233 .addHeader("Expires: " + formatDate(1, TimeUnit.HOURS)) in testResponseCaching()
261 .addHeader("Last-Modified: " + formatDate(-1, TimeUnit.HOURS)) in secureResponseCaching()
262 .addHeader("Expires: " + formatDate(1, TimeUnit.HOURS)) in secureResponseCaching()
291 .addHeader("Last-Modified: " + formatDate(-1, TimeUnit.HOURS)) in responseCachingAndRedirects()
292 .addHeader("Expires: " + formatDate(1, TimeUnit.HOURS)) in responseCachingAndRedirects()
296 .addHeader("Last-Modified: " + formatDate(-1, TimeUnit.HOURS)) in responseCachingAndRedirects()
297 .addHeader("Expires: " + formatDate(1, TimeUnit.HOURS)) in responseCachingAndRedirects()
[all …]
/external/okhttp/okhttp-urlconnection/src/test/java/com/squareup/okhttp/
DUrlConnectionCacheTest.java168 .addHeader("Last-Modified: " + formatDate(-1, TimeUnit.HOURS)) in assertCached()
169 .addHeader("Expires: " + formatDate(1, TimeUnit.HOURS)) in assertCached()
216 new MockResponse().addHeader("Last-Modified: " + formatDate(-1, TimeUnit.HOURS)) in testResponseCaching()
217 .addHeader("Expires: " + formatDate(1, TimeUnit.HOURS)) in testResponseCaching()
250 server.enqueue(new MockResponse().addHeader("Last-Modified: " + formatDate(-1, TimeUnit.HOURS)) in secureResponseCaching()
251 .addHeader("Expires: " + formatDate(1, TimeUnit.HOURS)) in secureResponseCaching()
283 server.enqueue(new MockResponse().addHeader("Last-Modified: " + formatDate(-1, TimeUnit.HOURS)) in responseCachingAndRedirects()
284 .addHeader("Expires: " + formatDate(1, TimeUnit.HOURS)) in responseCachingAndRedirects()
287 server.enqueue(new MockResponse().addHeader("Last-Modified: " + formatDate(-1, TimeUnit.HOURS)) in responseCachingAndRedirects()
288 .addHeader("Expires: " + formatDate(1, TimeUnit.HOURS)) in responseCachingAndRedirects()
[all …]
DOkUrlFactoryTest.java83 .addHeader("Last-Modified: " + formatDate(0, TimeUnit.SECONDS)) in conditionalCacheHitResponseSourceHeaders()
99 .addHeader("Last-Modified: " + formatDate(0, TimeUnit.SECONDS)) in conditionalCacheMissResponseSourceHeaders()
115 .addHeader("Expires: " + formatDate(2, TimeUnit.HOURS)) in cacheResponseSourceHeaders()
193 private static String formatDate(long delta, TimeUnit timeUnit) { in formatDate() method in OkUrlFactoryTest
194 return formatDate(new Date(System.currentTimeMillis() + timeUnit.toMillis(delta))); in formatDate()
197 private static String formatDate(Date date) { in formatDate() method in OkUrlFactoryTest
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DCacheTest.java159 .addHeader("Last-Modified: " + formatDate(-1, TimeUnit.HOURS)) in assertCached()
160 .addHeader("Expires: " + formatDate(1, TimeUnit.HOURS)) in assertCached()
212 .addHeader("Last-Modified: " + formatDate(-1, TimeUnit.HOURS)) in testResponseCaching()
213 .addHeader("Expires: " + formatDate(1, TimeUnit.HOURS)) in testResponseCaching()
249 .addHeader("Last-Modified: " + formatDate(-1, TimeUnit.HOURS)) in secureResponseCaching()
250 .addHeader("Expires: " + formatDate(1, TimeUnit.HOURS)) in secureResponseCaching()
284 .addHeader("Last-Modified: " + formatDate(-1, TimeUnit.HOURS)) in responseCachingAndRedirects()
285 .addHeader("Expires: " + formatDate(1, TimeUnit.HOURS)) in responseCachingAndRedirects()
289 .addHeader("Last-Modified: " + formatDate(-1, TimeUnit.HOURS)) in responseCachingAndRedirects()
290 .addHeader("Expires: " + formatDate(1, TimeUnit.HOURS)) in responseCachingAndRedirects()
[all …]
/external/apache-http/src/org/apache/http/impl/cookie/
DDateUtils.java184 public static String formatDate(Date date) { in formatDate() method in DateUtils
185 return formatDate(date, PATTERN_RFC1123); in formatDate()
201 public static String formatDate(Date date, String pattern) { in formatDate() method in DateUtils
/external/icu/icu4c/source/i18n/
Dwindtfmt.cpp249 formatDate(&st_local, date); in format()
258 formatDate(&st_local, appendTo); in format()
307 void Win32DateFormat::formatDate(const SYSTEMTIME *st, UnicodeString &appendTo) const in formatDate() function in Win32DateFormat
Dwindtfmt.h117 void formatDate(const SYSTEMTIME *st, UnicodeString &appendTo) const;
/external/cldr/tools/java/org/unicode/cldr/util/
DSupplementalDataInfo.java558 return "{" + formatDate(from)
560 + formatDate(to) + "}";
563 public static String formatDate(long date) {
630 public static String formatDate(Date date) {
631 return DateRange.formatDate(date.getTime());
757 … return "{" + code + ", " + formatDate(start) + ", " + formatDate(end) + ", " + alt + "}";
760 public static String formatDate(Date date) {
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestSupplementalInfo.java1453 + CurrencyDateInfo.formatDate(currencyFirstValid in TestCurrency()
1459 + CurrencyDateInfo.formatDate(currencyFirstValid in TestCurrency()
1474 + CurrencyDateInfo.formatDate(currencyLastValid in TestCurrency()
1481 + CurrencyDateInfo.formatDate(currencyLastValid in TestCurrency()
/external/cldr/tools/java/org/unicode/cldr/tool/
DShowLanguages.java1925 … pw.println("<td class='target'>" + CurrencyDateInfo.formatDate(infoItem.getStart()) + "</td>" + in printCurrency()
1926 "<td class='target'>" + CurrencyDateInfo.formatDate(endData) + "</td>" + in printCurrency()
/external/doclava/res/assets/templates-sdk/assets/js/
Dandroid_3p-bundle.js2706formatDate(c,d,this._getFormatConfig(a));$(b).each(function(){$(this).val(e)})}},noWeekends:functi…
/external/apache-http/api/
Dcurrent.txt3117 method @Deprecated public static String formatDate(java.util.Date);
3118 method @Deprecated public static String formatDate(java.util.Date, String);