/libcore/ojluni/src/main/java/java/time/ |
D | ZoneOffset.java | 205 final int hours, minutes, seconds; in of() local 276 public static ZoneOffset ofHours(int hours) { in ofHours() 293 public static ZoneOffset ofHoursMinutes(int hours, int minutes) { in ofHoursMinutes() 310 public static ZoneOffset ofHoursMinutesSeconds(int hours, int minutes, int seconds) { in ofHoursMinutesSeconds() 356 private static void validate(int hours, int minutes, int seconds) { in validate() 393 private static int totalSeconds(int hours, int minutes, int seconds) { in totalSeconds()
|
D | OffsetTime.java | 891 public OffsetTime plusHours(long hours) { in plusHours() 1002 public OffsetTime minusHours(long hours) { in minusHours()
|
D | LocalDateTime.java | 1294 public LocalDateTime plusHours(long hours) { in plusHours() 1489 public LocalDateTime minusHours(long hours) { in minusHours() 1546 …private LocalDateTime plusWithOverflow(LocalDate newDate, long hours, long minutes, long seconds, … in plusWithOverflow()
|
D | Duration.java | 189 public static Duration ofHours(long hours) { in ofHours() 1442 long hours = seconds / SECONDS_PER_HOUR; in toString() local
|
D | LocalTime.java | 376 int hours = (int) (secondOfDay / SECONDS_PER_HOUR); in ofSecondOfDay() local 394 int hours = (int) (nanoOfDay / NANOS_PER_HOUR); in ofNanoOfDay() local
|
D | OffsetDateTime.java | 1285 public OffsetDateTime plusHours(long hours) { in plusHours() 1474 public OffsetDateTime minusHours(long hours) { in minusHours()
|
D | ZonedDateTime.java | 1718 public ZonedDateTime plusHours(long hours) { in plusHours() 1959 public ZonedDateTime minusHours(long hours) { in minusHours()
|
/libcore/luni/src/main/java/javax/xml/datatype/ |
D | DatatypeFactory.java | 236 final BigInteger hours, in newDuration() 273 final int hours, in newDuration() 413 int hours = (int) (val % 24L); // 24 hours per day in newDurationDayTime() local 430 BigInteger hours = BigInteger.valueOf(val % 24L); // 24 hours per day in newDurationDayTime() local 923 final int hours, in newXMLGregorianCalendarTime() 961 final int hours, in newXMLGregorianCalendarTime() 999 final int hours, in newXMLGregorianCalendarTime()
|
D | Duration.java | 907 BigInteger hours = (BigInteger) getField(DatatypeConstants.HOURS); in toString() local
|
/libcore/ojluni/annotations/hiddenapi/sun/util/calendar/ |
D | CalendarDate.java | 105 public sun.util.calendar.CalendarDate setHours(int hours) { in setHours() 167 int hours, int minutes, int seconds, int millis) { in setTimeOfDay() 172 int hours, int minutes, int seconds, int millis) { in addTimeOfDay() 268 private int hours; field in CalendarDate
|
D | ImmutableGregorianDate.java | 95 public sun.util.calendar.CalendarDate setHours(int hours) { in setHours() 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/main/java/sun/util/calendar/ |
D | CalendarDate.java | 74 private int hours; field in CalendarDate 222 public CalendarDate setHours(int hours) { in setHours() 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()
|
D | ImmutableGregorianDate.java | 101 public CalendarDate setHours(int hours) { in setHours() 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()
|
D | AbstractCalendar.java | 249 int hours = time / HOUR_IN_MILLIS; in setTimeOfDay() local
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | ChronoLocalDateTimeImpl.java | 325 private ChronoLocalDateTimeImpl<D> plusHours(long hours) { in plusHours() 342 …private ChronoLocalDateTimeImpl<D> plusWithOverflow(D newDate, long hours, long minutes, long seco… in plusWithOverflow()
|
/libcore/ojluni/annotations/hiddenapi/java/time/ |
D | OffsetDateTime.java | 297 public java.time.OffsetDateTime plusHours(long hours) { in plusHours() 338 public java.time.OffsetDateTime minusHours(long hours) { in minusHours()
|
D | Duration.java | 81 public static java.time.Duration ofHours(long hours) { in ofHours()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | GregorianCalendarTest.java | 493 private static int hours(int count) { in hours() method in GregorianCalendarTest
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKDuration.java | 1214 public void plusHours_long(long hours, long amount, long expectedHours) { in plusHours_long() 1833 public void minusHours_long(long hours, long amount, long expectedHours) { in minusHours_long() 2701 public void test_toHoursPart(Duration dur, int hours) { in test_toHoursPart() 2702 assertEquals(dur.toHoursPart(), hours); in test_toHoursPart() local
|
D | TCKLocalTime.java | 1554 int hours = (int) (Long.MAX_VALUE % 24L); in test_plusHours_big() local
|
/libcore/ojluni/src/main/java/java/util/ |
D | Date.java | 829 public void setHours(int hours) { in setHours()
|
D | JapaneseImperialCalendar.java | 1667 int hours = timeOfDay / ONE_HOUR; in computeFields() local
|
D | GregorianCalendar.java | 2455 int hours = timeOfDay / ONE_HOUR; in computeFields() local
|
/libcore/ojluni/src/main/java/java/text/ |
D | SimpleDateFormat.java | 2127 int hours; in subParseNumericZone() local
|