/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/ |
D | ResponseCacheTest.java | 185 .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/ |
D | UrlConnectionCacheTest.java | 168 .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 …]
|
D | OkUrlFactoryTest.java | 83 .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/ |
D | CacheTest.java | 159 .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/ |
D | DateUtils.java | 184 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/ |
D | windtfmt.cpp | 249 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
|
D | windtfmt.h | 117 void formatDate(const SYSTEMTIME *st, UnicodeString &appendTo) const;
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | SupplementalDataInfo.java | 558 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/ |
D | TestSupplementalInfo.java | 1453 + 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/ |
D | ShowLanguages.java | 1925 … 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/ |
D | android_3p-bundle.js | 2706 …formatDate(c,d,this._getFormatConfig(a));$(b).each(function(){$(this).val(e)})}},noWeekends:functi…
|
/external/apache-http/api/ |
D | current.txt | 3117 method @Deprecated public static String formatDate(java.util.Date); 3118 method @Deprecated public static String formatDate(java.util.Date, String);
|