Home
last modified time | relevance | path

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

/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
DResponseCacheTest.java150 new MockResponse().addHeader("Last-Modified: " + formatDate(-1, TimeUnit.HOURS)) in testResponseCaching()
151 .addHeader("Expires: " + formatDate(1, TimeUnit.HOURS)) in testResponseCaching()
179 server.enqueue(new MockResponse().addHeader("Last-Modified: " + formatDate(-1, TimeUnit.HOURS)) in secureResponseCaching()
180 .addHeader("Expires: " + formatDate(1, TimeUnit.HOURS)) in secureResponseCaching()
229 server.enqueue(new MockResponse().addHeader("Last-Modified: " + formatDate(-1, TimeUnit.HOURS)) in responseCachingAndRedirects()
230 .addHeader("Expires: " + formatDate(1, TimeUnit.HOURS)) in responseCachingAndRedirects()
233 server.enqueue(new MockResponse().addHeader("Last-Modified: " + formatDate(-1, TimeUnit.HOURS)) in responseCachingAndRedirects()
234 .addHeader("Expires: " + formatDate(1, TimeUnit.HOURS)) in responseCachingAndRedirects()
272 server.enqueue(new MockResponse().addHeader("Last-Modified: " + formatDate(-1, TimeUnit.HOURS)) in secureResponseCachingAndRedirects()
273 .addHeader("Expires: " + formatDate(1, TimeUnit.HOURS)) in secureResponseCachingAndRedirects()
[all …]
DHttpResponseCacheTest.java203 new MockResponse().addHeader("Last-Modified: " + formatDate(-1, TimeUnit.HOURS)) in assertCached()
204 .addHeader("Expires: " + formatDate(1, TimeUnit.HOURS)) in assertCached()
311 new MockResponse().addHeader("Last-Modified: " + formatDate(-1, TimeUnit.HOURS)) in testResponseCaching()
312 .addHeader("Expires: " + formatDate(1, TimeUnit.HOURS)) in testResponseCaching()
346 server.enqueue(new MockResponse().addHeader("Last-Modified: " + formatDate(-1, TimeUnit.HOURS)) in secureResponseCaching()
347 .addHeader("Expires: " + formatDate(1, TimeUnit.HOURS)) in secureResponseCaching()
380 server.enqueue(new MockResponse().addHeader("Last-Modified: " + formatDate(-1, TimeUnit.HOURS)) in responseCachingAndRedirects()
381 .addHeader("Expires: " + formatDate(1, TimeUnit.HOURS)) in responseCachingAndRedirects()
384 server.enqueue(new MockResponse().addHeader("Last-Modified: " + formatDate(-1, TimeUnit.HOURS)) in responseCachingAndRedirects()
385 .addHeader("Expires: " + formatDate(1, TimeUnit.HOURS)) in responseCachingAndRedirects()
[all …]
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/
Ddate-format-tofte.js8 Date.prototype.formatDate = function (input,time) { method in Date
213 return prevNY.formatDate("W");
295 var shortFormat = date.formatDate("Y-m-d");
296 var longFormat = date.formatDate("l, F d, Y g:i:s A");
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9/
Ddate-format-tofte.js8 Date.prototype.formatDate = function (input,time) { method in Date
213 return prevNY.formatDate("W");
295 var shortFormat = date.formatDate("Y-m-d");
296 var longFormat = date.formatDate("l, F d, Y g:i:s A");
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-1.0/
Ddate-format-tofte.js8 Date.prototype.formatDate = function (input,time) { method in Date
213 return prevNY.formatDate("W");
295 var shortFormat = date.formatDate("Y-m-d");
296 var longFormat = date.formatDate("l, F d, Y g:i:s A");
/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_org/chrome/browser/resources/translate_internals/
Dtranslate_internals.js237 span.textContent = formatDate(new Date(details['last_updated']));
279 function formatDate(date) { function
325 appendTD(tr, formatDate(new Date(detail['time'])), 'detection-logs-time');
361 appendTD(tr, formatDate(new Date(details['time'])), 'error-logs-time');
380 appendTD(tr, formatDate(new Date(details['time'])), 'event-logs-time');
/external/chromium_org/third_party/WebKit/Source/web/tests/
DLocaleWinTest.cpp87 String formatDate(LCID lcid, int year, int month, int day) in formatDate() function in LocaleWinTest
156 TEST_F(LocaleWinTest, formatDate) in TEST_F() argument
158 EXPECT_STREQ("04/27/2005", formatDate(EnglishUS, 2005, April, 27).utf8().data()); in TEST_F()
159 EXPECT_STREQ("27/04/2005", formatDate(FrenchFR, 2005, April, 27).utf8().data()); in TEST_F()
160 EXPECT_STREQ("2005/04/27", formatDate(JapaneseJP, 2005, April, 27).utf8().data()); in TEST_F()
DLocaleMacTest.cpp90 String formatDate(const String& localeString, int year, int month, int day) in formatDate() function in LocaleMacTest
194 TEST_F(LocaleMacTest, formatDate) in TEST_F() argument
196 EXPECT_STREQ("04/27/2005", formatDate("en_US", 2005, April, 27).utf8().data()); in TEST_F()
197 EXPECT_STREQ("27/04/2005", formatDate("fr_FR", 2005, April, 27).utf8().data()); in TEST_F()
/external/chromium_org/third_party/icu/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/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/chromium_org/third_party/flot/
Djquery.flot.time.min.js9 …]);e.plot.plugins.push({init:l,options:t,name:"time",version:"1.0"}),e.plot.formatDate=r})(jQuery);
/external/chromium_org/v8/src/
Di18n.js1658 function formatDate(formatter, dateValue) { function
1688 addBoundMethod(Intl.DateTimeFormat, 'format', formatDate, 0);
2030 return formatDate(dateFormat, date);
/external/smack/src/org/jivesoftware/smack/util/
DStringUtils.java268 public static String formatDate(Date toFormat, DateFormatType type) in formatDate() method in StringUtils
/external/chromium_org/net/test/android/javatests/src/org/chromium/net/test/util/
DTestWebServer.java440 response.addHeader("Date", DateUtils.formatDate(new Date(), DateUtils.PATTERN_RFC1123)); in setDateHeaders()
/external/chromium_org/third_party/WebKit/PerformanceTests/resources/
Djquery.flot.min.js6formatDate(a0,aM.timeformat,aM.monthNames)}var aW=aY.tickSize[0]*aJ[aY.tickSize[1]];var aX=aY.max-…
/external/chromium-trace/trace-viewer/test_data/
Dv8.log1272 code-creation,Function,0,0x4242aee0,460,"formatDate v8/i18n:643",0x2343b918,