Home
last modified time | relevance | path

Searched defs:hours (Results 1 – 24 of 24) sorted by relevance

/libcore/ojluni/src/main/java/java/time/
DZoneOffset.java205 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()
DOffsetTime.java891 public OffsetTime plusHours(long hours) { in plusHours()
1002 public OffsetTime minusHours(long hours) { in minusHours()
DLocalDateTime.java1294 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()
DDuration.java187 public static Duration ofHours(long hours) { in ofHours()
1264 long hours = seconds / SECONDS_PER_HOUR; in toString() local
DLocalTime.java353 int hours = (int) (secondOfDay / SECONDS_PER_HOUR); in ofSecondOfDay() local
371 int hours = (int) (nanoOfDay / NANOS_PER_HOUR); in ofNanoOfDay() local
DOffsetDateTime.java1285 public OffsetDateTime plusHours(long hours) { in plusHours()
1474 public OffsetDateTime minusHours(long hours) { in minusHours()
DZonedDateTime.java1718 public ZonedDateTime plusHours(long hours) { in plusHours()
1959 public ZonedDateTime minusHours(long hours) { in minusHours()
/libcore/luni/src/main/java/javax/xml/datatype/
DDatatypeFactory.java236 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()
DDuration.java907 BigInteger hours = (BigInteger) getField(DatatypeConstants.HOURS); in toString() local
/libcore/ojluni/annotations/hiddenapi/sun/util/calendar/
DCalendarDate.java105 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
DImmutableGregorianDate.java95 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/
DCalendarDate.java74 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()
DImmutableGregorianDate.java101 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()
DAbstractCalendar.java249 int hours = time / HOUR_IN_MILLIS; in setTimeOfDay() local
/libcore/ojluni/src/main/java/java/time/chrono/
DChronoLocalDateTimeImpl.java325 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/
DOffsetDateTime.java297 public java.time.OffsetDateTime plusHours(long hours) { in plusHours()
338 public java.time.OffsetDateTime minusHours(long hours) { in minusHours()
DDuration.java81 public static java.time.Duration ofHours(long hours) { in ofHours()
/libcore/luni/src/test/java/libcore/java/util/
DGregorianCalendarTest.java493 private static int hours(int count) { in hours() method in GregorianCalendarTest
/libcore/ojluni/src/main/java/java/util/
DDate.java829 public void setHours(int hours) { in setHours()
DJapaneseImperialCalendar.java1667 int hours = timeOfDay / ONE_HOUR; in computeFields() local
DGregorianCalendar.java2455 int hours = timeOfDay / ONE_HOUR; in computeFields() local
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKDuration.java1212 public void plusHours_long(long hours, long amount, long expectedHours) { in plusHours_long()
1831 public void minusHours_long(long hours, long amount, long expectedHours) { in minusHours_long()
DTCKLocalTime.java1520 int hours = (int) (Long.MAX_VALUE % 24L); in test_plusHours_big() local
/libcore/ojluni/src/main/java/java/text/
DSimpleDateFormat.java2186 int hours; in subParseNumericZone() local