Home
last modified time | relevance | path

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

12

/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.java73 .addHeader("Last-Modified: " + formatDate(0, TimeUnit.SECONDS)) in conditionalCacheHitResponseSourceHeaders()
89 .addHeader("Last-Modified: " + formatDate(0, TimeUnit.SECONDS)) in conditionalCacheMissResponseSourceHeaders()
105 .addHeader("Expires: " + formatDate(2, TimeUnit.HOURS)) in cacheResponseSourceHeaders()
182 private static String formatDate(long delta, TimeUnit timeUnit) { in formatDate() method in OkUrlFactoryTest
183 return formatDate(new Date(System.currentTimeMillis() + timeUnit.toMillis(delta))); in formatDate()
186 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/chromium-trace/catapult/third_party/flot/
Djquery.flot.time.min.js7formatDate(d,fmt,monthNames,dayNames){if(typeof d.strftime=="function"){return d.strftime(fmt)}var… function
Djquery.flot.time.js31 function formatDate(d, fmt, monthNames, dayNames) { function
365 return formatDate(d, opts.timeformat, opts.monthNames, opts.dayNames);
409 var rt = formatDate(d, fmt, opts.monthNames, opts.dayNames);
429 $.plot.formatDate = formatDate;
DNEWS.md699 - The built-in date formatter can now be accessed as $.plot.formatDate(...)
/external/icu/icu4c/source/i18n/
Dwindtfmt.cpp175 formatDate(&st_local, *date); in format()
187 formatDate(&st_local, appendTo); in format()
236 void Win32DateFormat::formatDate(const SYSTEMTIME *st, UnicodeString &appendTo) const in formatDate() function in Win32DateFormat
Dwindtfmt.h115 void formatDate(const SYSTEMTIME *st, UnicodeString &appendTo) const;
/external/jetty/src/java/org/eclipse/jetty/http/
DHttpFields.java99 public String formatDate(long date) in formatDate() method in HttpFields.DateGenerator
191 public static String formatDate(long date) in formatDate() method in HttpFields
193 return __dateGenerator.get().formatDate(date); in formatDate()
296 public final static String __01Jan1970=formatDate(0);
890 String d=formatDate(date);
917 String d=formatDate(date);
/external/jetty/src/java/org/eclipse/jetty/server/
DResourceCache.java375 … _lastModifiedBytes=_lastModified<0?null:new ByteArrayBuffer(HttpFields.formatDate(_lastModified)); in Content()
/external/v8/src/js/
Di18n.js1772 function formatDate(formatter, dateValue) { function
1800 addBoundMethod(Intl.DateTimeFormat, 'format', formatDate, 0);
2140 return formatDate(dateFormat, date);
/external/guice/extensions/struts2/lib/
Djetty-6.1.0.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/mortbay/ org/ ...
Dfreemarker-2.3.16.jarMETA-INF/ META-INF/MANIFEST.MF freemarker/ freemarker/cache/ freemarker/ ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.mortbay.jetty.server_6.1.23.v201004211559.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.apache.commons.httpclient_3.1.0.v201005080502.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/robolectric/v1/lib/main/
Dhttpclient-4.0.3.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...
/external/robolectric/v3/runtime/
Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/chromium-trace/catapult/tracing/test_data/
Dv8.log1272 code-creation,Function,0,0x4242aee0,460,"formatDate v8/i18n:643",0x2343b918,

12