Searched refs:SECOND_IN_MILLIS (Results 1 – 4 of 4) sorted by relevance
/libcore/luni/src/test/java/libcore/libcore/icu/ |
D | RelativeDateTimeFormatterTest.java | 33 import static libcore.icu.RelativeDateTimeFormatter.SECOND_IN_MILLIS; 51 getRelativeTimeSpanString(en_US, tz, baseTime - SECOND_IN_MILLIS, baseTime, in test_getRelativeTimeSpanStringCTS() 54 getRelativeTimeSpanString(en_US, tz, baseTime + SECOND_IN_MILLIS, baseTime, in test_getRelativeTimeSpanStringCTS() 120 … test_getRelativeTimeSpanString_helper(0 * SECOND_IN_MILLIS, 0, "0 seconds ago", "0 seconds ago"); in test_getRelativeTimeSpanString() 125 test_getRelativeTimeSpanString_helper(0 * SECOND_IN_MILLIS, SECOND_IN_MILLIS, "0 seconds ago", in test_getRelativeTimeSpanString() 127 test_getRelativeTimeSpanString_helper(1 * SECOND_IN_MILLIS, SECOND_IN_MILLIS, "1 second ago", in test_getRelativeTimeSpanString() 129 test_getRelativeTimeSpanString_helper(2 * SECOND_IN_MILLIS, SECOND_IN_MILLIS, "2 seconds ago", in test_getRelativeTimeSpanString() 131 test_getRelativeTimeSpanString_helper(25 * SECOND_IN_MILLIS, SECOND_IN_MILLIS, "25 seconds ago", in test_getRelativeTimeSpanString() 133 test_getRelativeTimeSpanString_helper(75 * SECOND_IN_MILLIS, SECOND_IN_MILLIS, "1 minute ago", in test_getRelativeTimeSpanString() 135 test_getRelativeTimeSpanString_helper(5000 * SECOND_IN_MILLIS, SECOND_IN_MILLIS, "1 hour ago", in test_getRelativeTimeSpanString() [all …]
|
/libcore/ojluni/src/main/java/sun/util/calendar/ |
D | AbstractCalendar.java | 52 static final int SECOND_IN_MILLIS = 1000; field in AbstractCalendar 53 static final int MINUTE_IN_MILLIS = SECOND_IN_MILLIS * 60; 253 int seconds = time / SECOND_IN_MILLIS; in setTimeOfDay() 254 time %= SECOND_IN_MILLIS; in setTimeOfDay()
|
/libcore/luni/src/main/java/libcore/icu/ |
D | RelativeDateTimeFormatter.java | 43 public static final long SECOND_IN_MILLIS = 1000; field in RelativeDateTimeFormatter 44 public static final long MINUTE_IN_MILLIS = SECOND_IN_MILLIS * 60; 147 count = (int)(duration / SECOND_IN_MILLIS); in getRelativeTimeSpanString()
|
/libcore/ojluni/annotations/hiddenapi/sun/util/calendar/ |
D | AbstractCalendar.java | 133 static final int SECOND_IN_MILLIS = 1000; // 0x3e8 field in AbstractCalendar
|