Home
last modified time | relevance | path

Searched defs:millis (Results 1 – 25 of 47) sorted by relevance

12

/libcore/ojluni/src/main/java/sun/util/calendar/
DGregorian.java68 public Date getCalendarDate(long millis) { in getCalendarDate()
72 public Date getCalendarDate(long millis, CalendarDate date) { in getCalendarDate()
76 public Date getCalendarDate(long millis, TimeZone zone) { in getCalendarDate()
DCalendarSystem.java221 public abstract CalendarDate getCalendarDate(long millis); in getCalendarDate()
223 public abstract CalendarDate getCalendarDate(long millis, CalendarDate date); in getCalendarDate()
225 public abstract CalendarDate getCalendarDate(long millis, TimeZone zone); in getCalendarDate()
DLocalGregorianCalendar.java198 public Date getCalendarDate(long millis) { in getCalendarDate()
203 public Date getCalendarDate(long millis, TimeZone zone) { in getCalendarDate()
208 public Date getCalendarDate(long millis, CalendarDate date) { in getCalendarDate()
213 private Date adjustYear(Date ldate, long millis, int zoneOffset) { in adjustYear()
293 long millis = 0; in normalize() local
DJulianCalendar.java125 public Date getCalendarDate(long millis) { in getCalendarDate()
129 public Date getCalendarDate(long millis, CalendarDate date) { in getCalendarDate()
133 public Date getCalendarDate(long millis, TimeZone zone) { in getCalendarDate()
DAbstractCalendar.java107 public CalendarDate getCalendarDate(long millis) { in getCalendarDate()
111 public CalendarDate getCalendarDate(long millis, TimeZone zone) { in getCalendarDate()
116 public CalendarDate getCalendarDate(long millis, CalendarDate date) { in getCalendarDate()
DCalendarDate.java77 private int millis; // fractional part of the second field in CalendarDate
282 public CalendarDate setMillis(int millis) { in setMillis()
319 public CalendarDate setTimeOfDay(int hours, int minutes, int seconds, int millis) { in setTimeOfDay()
327 public CalendarDate addTimeOfDay(int hours, int minutes, int seconds, int millis) { in addTimeOfDay()
DImmutableGregorianDate.java137 public CalendarDate setMillis(int millis) { in setMillis()
157 public CalendarDate setTimeOfDay(int hours, int minutes, int seconds, int millis) { in setTimeOfDay()
161 public CalendarDate addTimeOfDay(int hours, int minutes, int seconds, int millis) { in addTimeOfDay()
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKClock.java77 final long millis; field in TCKClock.MockInstantClock
79 MockInstantClock(long millis, ZoneId zone) { in MockInstantClock()
84 public long millis() { in millis() method in TCKClock.MockInstantClock
/libcore/jsr166-tests/src/test/java/jsr166/
DLockSupportTest.java51 void park(long millis) { in park()
56 void park(long millis) { in parkUntil()
61 void park(long millis) { in parkNanos()
69 void park(long millis) { in parkBlocker()
74 void park(long millis) { in parkUntilBlocker()
79 void park(long millis) { in parkNanosBlocker()
86 abstract void park(long millis); in park()
89 long deadline(long millis) { in deadline()
DSystemTest.java45 long millis = m2 - m1; in testNanoTime1() local
65 long millis = m2 - m1; in testNanoTime2() local
/libcore/ojluni/src/main/java/java/time/
DClock.java397 public long millis() { in millis() method in Clock
466 public long millis() { in millis() method in Clock.SystemClock
516 public long millis() { in millis() method in Clock.FixedClock
566 public long millis() { in millis() method in Clock.OffsetClock
616 public long millis() { in millis() method in Clock.TickClock
617 long millis = baseClock.millis(); in millis() local
623 long millis = baseClock.millis(); in instant() local
/libcore/ojluni/src/test/java/util/concurrent/tck/
DLockSupportTest.java75 void park(long millis) { in park()
80 void park(long millis) { in parkUntil()
85 void park(long millis) { in parkNanos()
93 void park(long millis) { in parkBlocker()
98 void park(long millis) { in parkUntilBlocker()
103 void park(long millis) { in parkNanosBlocker()
110 abstract void park(long millis); in park()
113 long deadline(long millis) { in deadline()
DSystemTest.java69 long millis = m2 - m1; in testNanoTime1() local
89 long millis = m2 - m1; in testNanoTime2() local
/libcore/ojluni/annotations/hiddenapi/sun/util/calendar/
DLocalGregorianCalendar.java48 public sun.util.calendar.LocalGregorianCalendar.Date getCalendarDate(long millis) { in getCalendarDate()
53 long millis, java.util.TimeZone zone) { in getCalendarDate()
58 long millis, sun.util.calendar.CalendarDate date) { in getCalendarDate()
63 sun.util.calendar.LocalGregorianCalendar.Date ldate, long millis, int zoneOffset) { in adjustYear()
DCalendarSystem.java55 public abstract sun.util.calendar.CalendarDate getCalendarDate(long millis); in getCalendarDate()
58 long millis, sun.util.calendar.CalendarDate date); in getCalendarDate()
61 long millis, java.util.TimeZone zone); in getCalendarDate()
DCalendarDate.java144 public sun.util.calendar.CalendarDate setMillis(int millis) { in setMillis()
167 int hours, int minutes, int seconds, int millis) { in setTimeOfDay()
172 int hours, int minutes, int seconds, int millis) { in addTimeOfDay()
274 private int millis; field in CalendarDate
DImmutableGregorianDate.java131 public sun.util.calendar.CalendarDate setMillis(int millis) { in setMillis()
152 int hours, int minutes, int seconds, int millis) { in setTimeOfDay()
157 int hours, int minutes, int seconds, int millis) { in addTimeOfDay()
/libcore/ojluni/src/test/java/time/test/java/time/chrono/
DTestJapaneseChronoImpl.java109 long millis = jodt.toInstant().toEpochMilli(); in test_JapaneseChrono_vsCalendar() local
136 long millis = jodt.toInstant().toEpochMilli(); in test_dayOfYearVsCalendar() local
/libcore/luni/src/test/java/libcore/java/util/
DDateTest.java107 private static void check_convertFromAndToInstant_milliseconds(long millis) { in check_convertFromAndToInstant_milliseconds()
174 private static void check_convertToInstantAndBack(long millis) { in check_convertToInstantAndBack()
/libcore/ojluni/src/test/java/time/test/java/time/
DTestInstant.java93 public void test_epochMillis(String name, long millis) { in test_epochMillis()
/libcore/ojluni/annotations/mmodule/java/lang/
DThread.annotated.java60 public static void sleep(long millis) throws java.lang.InterruptedException { throw new RuntimeExce… in sleep()
62 public static void sleep(long millis, int nanos) throws java.lang.InterruptedException { throw new … in sleep()
110 public final void join(long millis) throws java.lang.InterruptedException { throw new RuntimeExcept… in join()
112 public final void join(long millis, int nanos) throws java.lang.InterruptedException { throw new Ru… in join()
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DThread.annotated.java60 public static void sleep(long millis) throws java.lang.InterruptedException { throw new RuntimeExce… in sleep()
62 public static void sleep(long millis, int nanos) throws java.lang.InterruptedException { throw new … in sleep()
104 public final void join(long millis) throws java.lang.InterruptedException { throw new RuntimeExcept… in join()
106 public final void join(long millis, int nanos) throws java.lang.InterruptedException { throw new Ru… in join()
/libcore/luni/src/test/java/libcore/java/sql/
DOldResultSetGetterTests.java933 long millis = cal.getTime().getTime(); in testGetTimeInt() local
992 long millis = cal1.getTime().getTime(); in testGetTimeIntCalendar() local
1057 long millis = cal.getTime().getTime(); in testGetTimeString() local
1117 long millis = cal1.getTime().getTime(); in testGetTimeStringCalendar() local
1176 long millis = cal2.getTime().getTime(); in testGetTimestampInt() local
1233 long millis = cal2.getTime().getTime(); in testGetTimestampIntCalendar() local
1296 long millis = cal2.getTime().getTime(); in testGetTimestampString() local
1356 long millis = cal2.getTime().getTime(); in testGetTimestampStringCalendar() local
/libcore/luni/src/main/java/android/system/
DStructTimeval.java41 public static @NonNull StructTimeval fromMillis(long millis) { in fromMillis()
/libcore/ojluni/annotations/hiddenapi/java/lang/
DThread.java95 public static void sleep(long millis) throws java.lang.InterruptedException { in sleep()
99 private static native void sleep(java.lang.Object lock, long millis, int nanos) in sleep()
102 public static void sleep(long millis, int nanos) throws java.lang.InterruptedException { in sleep()
215 public final void join(long millis) throws java.lang.InterruptedException { in join()
219 public final void join(long millis, int nanos) throws java.lang.InterruptedException { in join()

12