/libcore/ojluni/src/main/java/java/time/ |
D | LocalTime.java | 220 private final byte minute; field in LocalTime 291 public static LocalTime of(int hour, int minute) { in of() argument 293 if (minute == 0) { in of() 296 MINUTE_OF_HOUR.checkValidValue(minute); in of() 297 return new LocalTime(hour, minute, 0, 0); in of() 312 public static LocalTime of(int hour, int minute, int second) { in of() argument 314 if ((minute | second) == 0) { in of() 317 MINUTE_OF_HOUR.checkValidValue(minute); in of() 319 return new LocalTime(hour, minute, second, 0); in of() 334 public static LocalTime of(int hour, int minute, int second, int nanoOfSecond) { in of() argument [all …]
|
D | LocalDateTime.java | 230 public static LocalDateTime of(int year, Month month, int dayOfMonth, int hour, int minute) { in of() argument 232 LocalTime time = LocalTime.of(hour, minute); in of() 255 …public static LocalDateTime of(int year, Month month, int dayOfMonth, int hour, int minute, int se… in of() argument 257 LocalTime time = LocalTime.of(hour, minute, second); in of() 280 …public static LocalDateTime of(int year, Month month, int dayOfMonth, int hour, int minute, int se… in of() argument 282 LocalTime time = LocalTime.of(hour, minute, second, nanoOfSecond); in of() 305 public static LocalDateTime of(int year, int month, int dayOfMonth, int hour, int minute) { in of() argument 307 LocalTime time = LocalTime.of(hour, minute); in of() 330 …public static LocalDateTime of(int year, int month, int dayOfMonth, int hour, int minute, int seco… in of() argument 332 LocalTime time = LocalTime.of(hour, minute, second); in of() [all …]
|
D | OffsetTime.java | 230 …public static OffsetTime of(int hour, int minute, int second, int nanoOfSecond, ZoneOffset offset)… in of() argument 231 return new OffsetTime(LocalTime.of(hour, minute, second, nanoOfSecond), offset); in of() 760 public OffsetTime withMinute(int minute) { in withMinute() argument 761 return with(time.withMinute(minute), offset); in withMinute()
|
D | LocalDate.java | 1842 public LocalDateTime atTime(int hour, int minute) { in atTime() argument 1843 return atTime(LocalTime.of(hour, minute)); in atTime() 1861 public LocalDateTime atTime(int hour, int minute, int second) { in atTime() argument 1862 return atTime(LocalTime.of(hour, minute, second)); in atTime() 1880 public LocalDateTime atTime(int hour, int minute, int second, int nanoOfSecond) { in atTime() argument 1881 return atTime(LocalTime.of(hour, minute, second, nanoOfSecond)); in atTime()
|
D | OffsetDateTime.java | 300 int hour, int minute, int second, int nanoOfSecond, ZoneOffset offset) { in of() argument 301 … LocalDateTime dt = LocalDateTime.of(year, month, dayOfMonth, hour, minute, second, nanoOfSecond); in of() 1069 public OffsetDateTime withMinute(int minute) { in withMinute() argument 1070 return with(dateTime.withMinute(minute), offset); in withMinute()
|
D | ZonedDateTime.java | 333 int hour, int minute, int second, int nanoOfSecond, ZoneId zone) { in of() argument 334 … LocalDateTime dt = LocalDateTime.of(year, month, dayOfMonth, hour, minute, second, nanoOfSecond); in of() 1441 public ZonedDateTime withMinute(int minute) { in withMinute() argument 1442 return resolveLocal(dateTime.withMinute(minute)); in withMinute()
|
/libcore/ojluni/src/main/java/java/sql/ |
D | Time.java | 58 public Time(int hour, int minute, int second) { in Time() argument 59 super(70, 0, 1, hour, minute, second); in Time() 92 int minute; in valueOf() local 104 minute = in valueOf() 111 return new Time(hour, minute, second); in valueOf() 121 int minute = super.getMinutes(); in toString() local 132 if (minute < 10) { in toString() 133 minuteString = "0" + minute; in toString() 135 minuteString = Integer.toString(minute); in toString()
|
D | Timestamp.java | 88 int hour, int minute, int second, int nano) { in Timestamp() argument 89 super(year, month, date, hour, minute, second); in Timestamp() 179 int minute; in valueOf() local 242 minute = in valueOf() 263 return new Timestamp(year - 1900, month - 1, day, hour, minute, second, a_nanos); in valueOf() 280 int minute = super.getMinutes(); in toString() local 316 if (minute < 10) { in toString() 317 minuteString = "0" + minute; in toString() 319 minuteString = Integer.toString(minute); in toString()
|
/libcore/luni/src/main/java/javax/xml/datatype/ |
D | XMLGregorianCalendar.java | 327 public void setTime(int hour, int minute, int second) { in setTime() argument 331 minute, in setTime() 359 public abstract void setMinute(int minute); in setMinute() argument 418 int minute, in setTime() argument 423 setMinute(minute); in setTime() 444 public void setTime(int hour, int minute, int second, int millisecond) { in setTime() argument 447 setMinute(minute); in setTime()
|
D | DatatypeFactory.java | 470 final BigInteger minute, in newDurationDayTime() argument 479 minute, in newDurationDayTime() 512 final int minute, in newDurationDayTime() argument 516 day, hour, minute, second); in newDurationDayTime() 793 final int minute, in newXMLGregorianCalendar() argument 829 final int minute, in newXMLGregorianCalendar() argument 856 minute, in newXMLGregorianCalendar()
|
/libcore/luni/src/test/java/libcore/javax/xml/datatype/ |
D | XMLGregorianCalendarTest.java | 170 private int minute; field in XMLGregorianCalendarTest.XMLGregorianCalendarImpl 178 year = month = day = hour = minute = second = millisecond = timezoneOffset = 0; in clear() 184 year = month = day = hour = minute = second = millisecond = timezoneOffset = 0; in reset() 219 public void setMinute(int minute) { in setMinute() argument 220 this.minute = minute; in setMinute() 275 return minute; in getMinute() 294 if (minute != rhs.getMinute()) return Integer.signum(minute - rhs.getMinute()); in compare() 305 this.minute -= 30; in normalize()
|
D | DatatypeFactoryTest.java | 360 int day, int hour, int minute, int second, in newXMLGregorianCalendar() argument
|
/libcore/ojluni/src/main/java/java/util/zip/ |
D | ZipUtils.java | 94 int minute = (int) ((dtime >> 5) & 0x3f); in dosToJavaTime() local 97 if (month > 0 && month < 13 && day > 0 && hour < 24 && minute < 60 && second < 60) { in dosToJavaTime() 99 LocalDateTime ldt = LocalDateTime.of(year, month, day, hour, minute, second); in dosToJavaTime() 106 return overflowDosToJavaTime(year, month, day, hour, minute, second); in dosToJavaTime() 114 int hour, int minute, int second) { in overflowDosToJavaTime() argument 115 return new Date(year - 1900, month - 1, day, hour, minute, second).getTime(); in overflowDosToJavaTime()
|
/libcore/ojluni/src/main/java/java/util/ |
D | TimeZone.java | 637 int minute = 0; in getCustomTimeZone() local 641 minute = Integer.parseInt(m.group(3)); in getCustomTimeZone() 647 if (hour < 0 || hour > 23 || minute < 0 || minute > 59) { in getCustomTimeZone() 652 int raw = (hour * 3600000) + (minute * 60000); in getCustomTimeZone() 657 String cleanId = String.format(Locale.ROOT, "GMT%c%02d:%02d", sign, hour, minute); in getCustomTimeZone()
|
D | Calendar.java | 1252 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 2001 set(MINUTE, minute); in set() 2022 public final void set(int year, int month, int date, int hourOfDay, int minute, in set() argument 2029 set(MINUTE, minute); in set()
|
D | GregorianCalendar.java | 659 int minute) { in GregorianCalendar() argument 660 this(year, month, dayOfMonth, hourOfDay, minute, 0, 0); in GregorianCalendar() 679 int minute, int second) { 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 724 this.set(MINUTE, minute); in GregorianCalendar()
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | Chronology.java | 740 int hour, int minute, int second, ZoneOffset zoneOffset) { in epochSecond() argument 743 MINUTE_OF_HOUR.checkValidValue(minute); in epochSecond() 746 long timeinSec = (hour * 60 + minute) * 60 + second; in epochSecond() 769 int hour, int minute, int second, ZoneOffset zoneOffset) { in epochSecond() argument 771 …return epochSecond(prolepticYear(era, yearOfEra), month, dayOfMonth, hour, minute, second, zoneOff… in epochSecond()
|
D | IsoChronology.java | 293 int hour, int minute, int second, ZoneOffset zoneOffset) { in epochSecond() argument 298 MINUTE_OF_HOUR.checkValidValue(minute); in epochSecond() 329 timeinSec = (hour * 60 + minute ) * 60 + second; in epochSecond()
|
/libcore/ojluni/src/main/java/sun/security/util/ |
D | DerInputBuffer.java | 313 int year, month, day, hour, minute, second, millis; in getTime() local 343 minute = 10 * Character.digit((char)buf[pos++], 10); in getTime() 344 minute += Character.digit((char)buf[pos++], 10); in getTime() 396 || hour >= 24 || minute >= 60 || second >= 60) in getTime() 406 date.setTimeOfDay(hour, minute, second, millis); in getTime()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | CalendarTest.java | 152 int minute = 0; in testSetSelfConsistent() local 155 calendar.set(year, month, day, hour, minute); in testSetSelfConsistent() 160 assertEquals(minute, calendar.get(Calendar.MINUTE)); in testSetSelfConsistent() 214 int year, int month, int day, int hour, int minute) { in assertCalendarEquals() argument 219 assertEquals("minute", minute, calendar.get(Calendar.MINUTE)); in assertCalendarEquals()
|
/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/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/ojluni/annotations/hiddenapi/java/time/ |
D | OffsetDateTime.java | 115 int minute, in of() argument 257 public java.time.OffsetDateTime withMinute(int minute) { in withMinute() argument
|
/libcore/tools/testmapping/ |
D | gen_smoke_tests.py | 98 minute=int(cts_match.group(4)),
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKZonedDateTime.java | 2407 int hour, int minute) { 2408 return LocalDateTime.of(year, month, dayOfMonth, hour, minute); 2413 int hour, int minute, int second, int nanoOfSecond) { 2414 … return LocalDateTime.of(year, month, dayOfMonth, hour, minute, second, nanoOfSecond); 2419 int hour, int minute, int second, int nanoOfSecond, ZoneOffset offset, ZoneId zoneId) { 2420 …return ZonedDateTime.ofStrict(LocalDateTime.of(year, month, dayOfMonth, hour, minute, second, nano…
|