Home
last modified time | relevance | path

Searched refs:HOURS (Results 1 – 16 of 16) sorted by relevance

/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/
DResponseCacheTest.java196 .addHeader("Last-Modified: " + formatDate(-1, TimeUnit.HOURS)) in assertCached()
197 .addHeader("Expires: " + formatDate(1, TimeUnit.HOURS)) in assertCached()
243 .addHeader("Last-Modified: " + formatDate(-1, TimeUnit.HOURS)) in testResponseCaching()
244 .addHeader("Expires: " + formatDate(1, TimeUnit.HOURS)) in testResponseCaching()
272 .addHeader("Last-Modified: " + formatDate(-1, TimeUnit.HOURS)) in secureResponseCaching()
273 .addHeader("Expires: " + formatDate(1, TimeUnit.HOURS)) in secureResponseCaching()
302 .addHeader("Last-Modified: " + formatDate(-1, TimeUnit.HOURS)) in responseCachingAndRedirects()
303 .addHeader("Expires: " + formatDate(1, TimeUnit.HOURS)) in responseCachingAndRedirects()
307 .addHeader("Last-Modified: " + formatDate(-1, TimeUnit.HOURS)) in responseCachingAndRedirects()
308 .addHeader("Expires: " + formatDate(1, TimeUnit.HOURS)) in responseCachingAndRedirects()
[all …]
/external/okhttp/okhttp-urlconnection/src/test/java/com/squareup/okhttp/
DUrlConnectionCacheTest.java174 .addHeader("Last-Modified: " + formatDate(-1, TimeUnit.HOURS)) in assertCached()
175 .addHeader("Expires: " + formatDate(1, TimeUnit.HOURS)) in assertCached()
222 new MockResponse().addHeader("Last-Modified: " + formatDate(-1, TimeUnit.HOURS)) in testResponseCaching()
223 .addHeader("Expires: " + formatDate(1, TimeUnit.HOURS)) in testResponseCaching()
256 server.enqueue(new MockResponse().addHeader("Last-Modified: " + formatDate(-1, TimeUnit.HOURS)) in secureResponseCaching()
257 .addHeader("Expires: " + formatDate(1, TimeUnit.HOURS)) in secureResponseCaching()
289 server.enqueue(new MockResponse().addHeader("Last-Modified: " + formatDate(-1, TimeUnit.HOURS)) in responseCachingAndRedirects()
290 .addHeader("Expires: " + formatDate(1, TimeUnit.HOURS)) in responseCachingAndRedirects()
293 server.enqueue(new MockResponse().addHeader("Last-Modified: " + formatDate(-1, TimeUnit.HOURS)) in responseCachingAndRedirects()
294 .addHeader("Expires: " + formatDate(1, TimeUnit.HOURS)) in responseCachingAndRedirects()
[all …]
DOkUrlFactoryTest.java105 .addHeader("Expires: " + formatDate(2, TimeUnit.HOURS)) in cacheResponseSourceHeaders()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DCacheTest.java165 .addHeader("Last-Modified: " + formatDate(-1, TimeUnit.HOURS)) in assertCached()
166 .addHeader("Expires: " + formatDate(1, TimeUnit.HOURS)) in assertCached()
215 .addHeader("Last-Modified: " + formatDate(-1, TimeUnit.HOURS)) in testResponseCaching()
216 .addHeader("Expires: " + formatDate(1, TimeUnit.HOURS)) in testResponseCaching()
252 .addHeader("Last-Modified: " + formatDate(-1, TimeUnit.HOURS)) in secureResponseCaching()
253 .addHeader("Expires: " + formatDate(1, TimeUnit.HOURS)) in secureResponseCaching()
287 .addHeader("Last-Modified: " + formatDate(-1, TimeUnit.HOURS)) in responseCachingAndRedirects()
288 .addHeader("Expires: " + formatDate(1, TimeUnit.HOURS)) in responseCachingAndRedirects()
292 .addHeader("Last-Modified: " + formatDate(-1, TimeUnit.HOURS)) in responseCachingAndRedirects()
293 .addHeader("Expires: " + formatDate(1, TimeUnit.HOURS)) in responseCachingAndRedirects()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DRelativeDateTimeFormatterTest.java36 {0.0, Direction.NEXT, RelativeUnit.HOURS, "in 0 hours"}, in TestRelativeDateWithQuantity()
37 {0.5, Direction.NEXT, RelativeUnit.HOURS, "in 0.5 hours"}, in TestRelativeDateWithQuantity()
38 {1.0, Direction.NEXT, RelativeUnit.HOURS, "in 1 hour"}, in TestRelativeDateWithQuantity()
39 {2.0, Direction.NEXT, RelativeUnit.HOURS, "in 2 hours"}, in TestRelativeDateWithQuantity()
65 {0.0, Direction.LAST, RelativeUnit.HOURS, "0 hours ago"}, in TestRelativeDateWithQuantity()
66 {0.5, Direction.LAST, RelativeUnit.HOURS, "0.5 hours ago"}, in TestRelativeDateWithQuantity()
67 {1.0, Direction.LAST, RelativeUnit.HOURS, "1 hour ago"}, in TestRelativeDateWithQuantity()
68 {2.0, Direction.LAST, RelativeUnit.HOURS, "2 hours ago"}, in TestRelativeDateWithQuantity()
105 {0.0, Direction.NEXT, RelativeUnit.HOURS, "In 0 hours"}, in TestRelativeDateWithQuantityCaps()
106 {0.5, Direction.NEXT, RelativeUnit.HOURS, "In 0.5 hours"}, in TestRelativeDateWithQuantityCaps()
[all …]
/external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/
DStopwatch.java22 import static java.util.concurrent.TimeUnit.HOURS;
216 if (HOURS.convert(nanos, NANOSECONDS) > 0) { in chooseUnit()
217 return HOURS; in chooseUnit()
246 case HOURS: in abbreviate()
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DMapMakerTest.java19 import static java.util.concurrent.TimeUnit.HOURS;
67 MapMaker maker = new MapMaker().expireAfterWrite(1, HOURS); in testExpiration_setTwice()
70 maker.expireAfterWrite(1, HOURS); in testExpiration_setTwice()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/
DICUDurationTest.java61 fields.put(DatatypeConstants.HOURS, h); in ICUTestDuration()
80 if (h >= 0) { fields.put(DatatypeConstants.HOURS, h); } in ICUTestDuration()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/
DBasicDurationFormat.java95 javax.xml.datatype.DatatypeConstants.HOURS, in formatDuration()
/external/guava/
DREADME.jdk512 unit in 1.5, so all uses of `MINUTES`, `DAYS` and `HOURS` have been
/external/openssh/
Dmisc.c280 #define HOURS (MINUTES * 60) macro
281 #define DAYS (HOURS * 24)
339 secs *= HOURS; in convtime()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DRelativeDateTimeFormatter.java121 HOURS, enumConstant
644 RelativeUnit.HOURS, in load()
/external/guava/guava-gwt/src-super/java/util/super/java/util/concurrent/
DTimeUnit.java73 HOURS { enumConstant
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DCalendarRegression.java1800 int HOURS = 60*60*1000;
1814 Calendar.ZONE_OFFSET, -8*HOURS,
1815 Calendar.DST_OFFSET, HOURS,
1821 Calendar.ZONE_OFFSET, -8*HOURS,
1822 Calendar.DST_OFFSET, HOURS/2,
1828 Calendar.ZONE_OFFSET, -8*HOURS,
1834 Calendar.DST_OFFSET, HOURS/2,
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.equinox.p2.ui.sdk.scheduler_1.0.0.v20100507-1815.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/robolectric/lib/main/
Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...