Home
last modified time | relevance | path

Searched refs:hourOfDay (Results 1 – 7 of 7) sorted by relevance

/libcore/ojluni/src/test/java/util/GregorianCalendar/
DGregorianCalendarTest.java141 for (long hourOfDay = Integer.MIN_VALUE; in testGregorianCalendar()
142 runrun && hourOfDay <= Integer.MAX_VALUE; hourOfDay += delta) { in testGregorianCalendar()
144 1, hourOfDay, 0, 0); in testGregorianCalendar()
192 long hourOfDay, long minutes, long seconds) { in checkTimes() argument
194 gc.set((int)year, (int)month, (int)dayOfMonth, (int)hourOfDay, (int)minutes, (int)seconds); in checkTimes()
197 (int)hourOfDay, (int)minutes, (int)seconds); in checkTimes()
202 +"\nhourOfDay="+hourOfDay+", minutes="+minutes+", seconds="+seconds in checkTimes()
/libcore/ojluni/src/main/java/java/util/
DGregorianCalendar.java658 public GregorianCalendar(int year, int month, int dayOfMonth, int hourOfDay, in GregorianCalendar() argument
660 this(year, month, dayOfMonth, hourOfDay, minute, 0, 0); in GregorianCalendar()
678 public GregorianCalendar(int year, int month, int dayOfMonth, int hourOfDay, in GregorianCalendar() argument
680 this(year, month, dayOfMonth, hourOfDay, minute, second, 0); in GregorianCalendar()
700 int hourOfDay, int minute, int second, int millis) { in GregorianCalendar() argument
709 if (hourOfDay >= 12 && hourOfDay <= 23) { in GregorianCalendar()
714 this.internalSet(HOUR, hourOfDay - 12); in GregorianCalendar()
718 this.internalSet(HOUR, hourOfDay); in GregorianCalendar()
723 this.set(HOUR_OF_DAY, hourOfDay); in GregorianCalendar()
1203 int hourOfDay = rolledValue; in roll() local
[all …]
DCalendar.java1252 public Builder setTimeOfDay(int hourOfDay, int minute, int second) { in setTimeOfDay() argument
1253 return setTimeOfDay(hourOfDay, minute, second, 0); in setTimeOfDay()
1273 public Builder setTimeOfDay(int hourOfDay, int minute, int second, int millis) { in setTimeOfDay() argument
1274 return setFields(HOUR_OF_DAY, hourOfDay, MINUTE, minute, in setTimeOfDay()
1995 public final void set(int year, int month, int date, int hourOfDay, int minute) in set() argument
2000 set(HOUR_OF_DAY, hourOfDay); in set()
2022 public final void set(int year, int month, int date, int hourOfDay, int minute, in set() argument
2028 set(HOUR_OF_DAY, hourOfDay); in set()
DJapaneseImperialCalendar.java617 int hourOfDay = d.getHours(); in roll() local
618 internalSet(field, hourOfDay % unit); in roll()
620 internalSet(HOUR_OF_DAY, hourOfDay); in roll()
622 internalSet(AM_PM, hourOfDay / 12); in roll()
623 internalSet(HOUR, hourOfDay % 12); in roll()
/libcore/ojluni/annotations/sdk/nullability/java/util/
DCalendar.annotated.java84 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/annotations/hiddenapi/java/util/
DCalendar.java129 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/
DCalendarTest.java379 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()