/libcore/ojluni/annotations/sdk/nullability/java/util/ |
D | Calendar.annotated.java | 84 public final void set(int year, int month, int date, int hourOfDay, int minute) { throw new Runtime… in set() argument 86 public final void set(int year, int month, int date, int hourOfDay, int minute, int second) { throw… in set() argument 287 @libcore.util.NonNull public java.util.Calendar.Builder setTimeOfDay(int hourOfDay, int minute, int… in setTimeOfDay() argument 289 @libcore.util.NonNull public java.util.Calendar.Builder setTimeOfDay(int hourOfDay, int minute, int… in setTimeOfDay() argument
|
/libcore/ojluni/src/main/java/java/util/ |
D | GregorianCalendar.java | 657 public GregorianCalendar(int year, int month, int dayOfMonth, int hourOfDay, in GregorianCalendar() argument 659 this(year, month, dayOfMonth, hourOfDay, minute, 0, 0); in GregorianCalendar() 677 public GregorianCalendar(int year, int month, int dayOfMonth, int hourOfDay, in GregorianCalendar() argument 679 this(year, month, dayOfMonth, hourOfDay, minute, second, 0); in GregorianCalendar() 699 int hourOfDay, int minute, int second, int millis) { in GregorianCalendar() argument 708 if (hourOfDay >= 12 && hourOfDay <= 23) { in GregorianCalendar() 713 this.internalSet(HOUR, hourOfDay - 12); in GregorianCalendar() 717 this.internalSet(HOUR, hourOfDay); in GregorianCalendar() 722 this.set(HOUR_OF_DAY, hourOfDay); in GregorianCalendar() 1224 int hourOfDay = d.getHours(); in roll() local [all …]
|
D | Calendar.java | 1244 public Builder setTimeOfDay(int hourOfDay, int minute, int second) { in setTimeOfDay() argument 1245 return setTimeOfDay(hourOfDay, minute, second, 0); in setTimeOfDay() 1265 public Builder setTimeOfDay(int hourOfDay, int minute, int second, int millis) { in setTimeOfDay() argument 1266 return setFields(HOUR_OF_DAY, hourOfDay, MINUTE, minute, in setTimeOfDay() 1912 public final void set(int year, int month, int date, int hourOfDay, int minute) in set() argument 1917 set(HOUR_OF_DAY, hourOfDay); in set() 1939 public final void set(int year, int month, int date, int hourOfDay, int minute, in set() argument 1945 set(HOUR_OF_DAY, hourOfDay); in set()
|
D | JapaneseImperialCalendar.java | 613 int hourOfDay = d.getHours(); in roll() local 614 internalSet(field, hourOfDay % unit); in roll() 616 internalSet(HOUR_OF_DAY, hourOfDay); in roll() 618 internalSet(AM_PM, hourOfDay / 12); in roll() 619 internalSet(HOUR, hourOfDay % 12); in roll()
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | Calendar.java | 129 public final void set(int year, int month, int date, int hourOfDay, int minute) { in set() argument 133 public final void set(int year, int month, int date, int hourOfDay, int minute, int second) { in set() argument 638 public java.util.Calendar.Builder setTimeOfDay(int hourOfDay, int minute, int second) { in setTimeOfDay() argument 643 int hourOfDay, int minute, int second, int millis) { in setTimeOfDay() argument
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | CalendarTest.java | 379 int hourOfDay = cal.get(Calendar.HOUR_OF_DAY); in test_setII() local 385 assertEquals(hourOfDay + 12, cal.get(Calendar.HOUR_OF_DAY)); in test_setII()
|