/external/icu/android_icu4j/src/main/java/android/icu/text/ |
RelativeDateTimeFormatter.java | 34 * <li>relative dates with a quantity e.g "in 5 days"</li> 43 * displaying "in 7 days" or "in 1 week." This API supports relative dates 46 * e.g "in 5 days and 4 hours" nor does it support parsing. 53 * fmt.format(1, Direction.NEXT, RelativeUnit.DAYS); // "in 1 day" 54 * fmt.format(3, Direction.NEXT, RelativeUnit.DAYS); // "in 3 days" 100 * Represents the unit for formatting a relative date. e.g "in 5 days" 121 * Days 123 DAYS, 260 * Represents the unit for formatting a relative date. e.g "in 5 days" [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
RelativeDateTimeFormatter.java | 33 * <li>relative dates with a quantity e.g "in 5 days"</li> 42 * displaying "in 7 days" or "in 1 week." This API supports relative dates 45 * e.g "in 5 days and 4 hours" nor does it support parsing. 52 * fmt.format(1, Direction.NEXT, RelativeUnit.DAYS); // "in 1 day" 53 * fmt.format(3, Direction.NEXT, RelativeUnit.DAYS); // "in 3 days" 105 * Represents the unit for formatting a relative date. e.g "in 5 days" 130 * Days 133 DAYS, 293 * Represents the unit for formatting a relative date. e.g "in 5 days" [all...] |
/external/openssh/ |
misc.c | 281 #define DAYS (HOURS * 24) 282 #define WEEKS (DAYS * 7) 294 * d|D days 300 * 2d 2 days 343 secs *= DAYS;
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
TCKZonedDateTime.java | 93 import static java.time.temporal.ChronoUnit.DAYS; 505 long days = (year * 365L + (year / 4 - year / 100 + year / 400)) - days_0000_to_1970; 506 Instant instant = Instant.ofEpochSecond(days * 24L * 60L * 60L - OFFSET_MIN.getTotalSeconds()); 522 long days = (year * 365L + (year / 4 - year / 100 + year / 400)) - days_0000_to_1970; 523 Instant instant = Instant.ofEpochSecond(days * 24L * 60L * 60L - OFFSET_MAX.getTotalSeconds()); 539 long days = (year * 365L + (year / 4 - year / 100 + year / 400)) + 365 - days_0000_to_1970; 540 Instant instant = Instant.ofEpochSecond((days + 1) * 24L * 60L * 60L - 1 - OFFSET_MIN.getTotalSeconds()); 556 long days = (year * 365L + (year / 4 - year / 100 + year / 400)) + 365 - days_0000_to_1970; 557 Instant instant = Instant.ofEpochSecond((days + 1) * 24L * 60L * 60L - 1 - OFFSET_MAX.getTotalSeconds()); 586 long days = (year * 365L + (year / 4 - year / 100 + year / 400)) - days_0000_to_1970 [all...] |
TCKYear.java | 66 import static java.time.temporal.ChronoUnit.DAYS; 381 assertEquals(TEST_2008.isSupported(ChronoUnit.DAYS), false); 593 {Year.of(1), 0, ChronoUnit.DAYS, null, DateTimeException.class}, 725 {Year.of(1), 0, ChronoUnit.DAYS, null, DateTimeException.class}, [all...] |
TCKYearMonth.java | 68 import static java.time.temporal.ChronoUnit.DAYS; 446 assertEquals(TEST_2008_06.isSupported(ChronoUnit.DAYS), false); 769 {YearMonth.of(1, 1), 0, ChronoUnit.DAYS, null, DateTimeException.class}, [all...] |
TCKLocalTime.java | 77 import static java.time.temporal.ChronoUnit.DAYS; 149 EnumSet<ChronoUnit> set = EnumSet.range(DAYS, FOREVER); 609 assertEquals(TEST_12_30_40_987654321.isSupported(ChronoUnit.DAYS), false); [all...] |
TCKOffsetDateTime.java | 93 import static java.time.temporal.ChronoUnit.DAYS; 584 assertEquals(TEST_2008_6_30_11_30_59_000000500.isSupported(ChronoUnit.DAYS), true); [all...] |
TCKOffsetTime.java | 79 import static java.time.temporal.ChronoUnit.DAYS; 567 assertEquals(TEST_11_30_59_500_PONE.isSupported(ChronoUnit.DAYS), false); [all...] |
/packages/apps/TV/src/com/android/tv/util/ |
Utils.java | 117 private static final long ONE_DAY_MS = TimeUnit.DAYS.toMillis(1); 383 // automatically shows date if the duration covers multiple days. 385 startUtcMillis, endUtcMillis - TimeUnit.DAYS.toMillis(1), flag); 397 final long DAY_IN_MS = TimeUnit.DAYS.toMillis(1); 408 * Calculate how many days between two milliseconds. [all...] |
/external/guava/guava/src/com/google/common/cache/ |
CacheBuilderSpec.java | 61 * or "s", representing days, hours, minutes, or seconds respectively. (There 423 timeUnit = TimeUnit.DAYS;
|
/packages/apps/TV/src/com/android/tv/dvr/ui/list/ |
ScheduleRowAdapter.java | 50 private final static long ONE_DAY_MS = TimeUnit.DAYS.toMillis(1);
|
/libcore/ojluni/src/main/java/java/time/ |
LocalDate.java | 150 * The number of days in a 400 year cycle. 154 * The number of days from year zero to year 1970. 301 * of days where day 0 is 1970-01-01. Negative numbers represent earlier days. 433 * Resolves the date, resolving days past the end of month. 519 * <li>{@code DAYS} 1659 int days = end.day - this.day; local [all...] |
/packages/apps/TV/src/com/android/tv/ |
TimeShiftManager.java | 109 private static final long ALLOWED_START_TIME_OFFSET = TimeUnit.DAYS.toMillis(14); 110 private static final long TWO_WEEKS_MS = TimeUnit.DAYS.toMillis(14); [all...] |
/packages/apps/TV/src/com/android/tv/data/ |
ProgramDataManager.java | 71 static final long PROGRAM_GUIDE_MAX_TIME_RANGE = TimeUnit.DAYS.toMillis(2);
|
/packages/apps/TV/src/com/android/tv/data/epg/ |
EpgFetcher.java | 77 private static final long PROGRAM_QUERY_DURATION = TimeUnit.DAYS.toMillis(30);
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.equinox.p2.ui.sdk.scheduler_1.0.0.v20100507-1815.jar | |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
cookielib.py | 80 DAYS = ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"]
117 DAYS[wday], mday, MONTHS[mon-1], year, hour, min, sec)
[all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
cookielib.py | 80 DAYS = ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"] 117 DAYS[wday], mday, MONTHS[mon-1], year, hour, min, sec) [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
cookielib.py | 80 DAYS = ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"] 117 DAYS[wday], mday, MONTHS[mon-1], year, hour, min, sec) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
cookielib.py | 80 DAYS = ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"] 117 DAYS[wday], mday, MONTHS[mon-1], year, hour, min, sec) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
cookielib.py | 80 DAYS = ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"] 117 DAYS[wday], mday, MONTHS[mon-1], year, hour, min, sec) [all...] |
/packages/apps/TV/src/com/android/tv/tuner/tvinput/ |
ChannelDataManager.java | 84 // At most 16 days of program information is delivered through an EIT, 86 private static final long PROGRAM_QUERY_DURATION = TimeUnit.DAYS.toMillis(16);
|
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/ |
ResponseCacheTest.java | 557 // last modified: 105 days ago 558 // served: 5 days ago 559 // default lifetime: (105 - 5) / 10 = 10 days 560 // expires: 10 days from served date = 5 days from now 562 .addHeader("Last-Modified: " + formatDate(-105, TimeUnit.DAYS)) 563 .addHeader("Date: " + formatDate(-5, TimeUnit.DAYS)) [all...] |
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
CacheTest.java | 595 // last modified: 105 days ago 596 // served: 5 days ago 597 // default lifetime: (105 - 5) / 10 = 10 days 598 // expires: 10 days from served date = 5 days from now 600 .addHeader("Last-Modified: " + formatDate(-105, TimeUnit.DAYS)) 601 .addHeader("Date: " + formatDate(-5, TimeUnit.DAYS)) [all...] |