/libcore/ojluni/src/main/java/java/sql/ |
H A D | Time.java | 42 * given values for the hour, minute, and second. 51 * @param minute 0 to 59 58 public Time(int hour, int minute, int second) { argument 59 super(70, 0, 1, hour, minute, second); 92 int minute; 104 minute = 111 return new Time(hour, minute, second); 121 int minute = super.getMinutes(); 132 if (minute < 10) { 133 minuteString = "0" + minute; [all...] |
H A D | Timestamp.java | 80 * @param minute 0 to 59 88 int hour, int minute, int second, int nano) { 89 super(year, month, date, hour, minute, second); 179 int minute; 242 minute = 263 return new Timestamp(year - 1900, month - 1, day, hour, minute, second, a_nanos); 280 int minute = super.getMinutes(); 316 if (minute < 10) { 317 minuteString = "0" + minute; 319 minuteString = Integer.toString(minute); 87 Timestamp(int year, int month, int date, int hour, int minute, int second, int nano) argument [all...] |
/libcore/ojluni/src/main/java/java/time/ |
H A D | LocalTime.java | 101 * often viewed as hour-minute-second. 167 * Seconds per minute. 191 * Nanos per minute. 213 * The minute. 215 private final byte minute; field in class:LocalTime 279 * Obtains an instance of {@code LocalTime} from an hour and minute. 281 * This returns a {@code LocalTime} with the specified hour and minute. 285 * @param minute the minute-of-hour to represent, from 0 to 59 289 public static LocalTime of(int hour, int minute) { argument 310 of(int hour, int minute, int second) argument 332 of(int hour, int minute, int second, int nanoOfSecond) argument 450 create(int hour, int minute, int second, int nanoOfSecond) argument 465 LocalTime(int hour, int minute, int second, int nanoOfSecond) argument 880 withMinute(int minute) argument [all...] |
H A D | LocalDateTime.java | 105 * often viewed as year-month-day-hour-minute-second. Other date and time fields, 213 * day, hour and minute, setting the second and nanosecond to zero. 216 * day-of-month, hour and minute. 224 * @param minute the minute-of-hour to represent, from 0 to 59 229 public static LocalDateTime of(int year, Month month, int dayOfMonth, int hour, int minute) { argument 231 LocalTime time = LocalTime.of(hour, minute); 237 * day, hour, minute and second, setting the nanosecond to zero. 240 * day-of-month, hour, minute and second. 248 * @param minute th 254 of(int year, Month month, int dayOfMonth, int hour, int minute, int second) argument 279 of(int year, Month month, int dayOfMonth, int hour, int minute, int second, int nanoOfSecond) argument 304 of(int year, int month, int dayOfMonth, int hour, int minute) argument 329 of(int year, int month, int dayOfMonth, int hour, int minute, int second) argument 354 of(int year, int month, int dayOfMonth, int hour, int minute, int second, int nanoOfSecond) argument 1060 withMinute(int minute) argument [all...] |
H A D | OffsetTime.java | 101 * viewed as hour-minute-second-offset. 211 * Obtains an instance of {@code OffsetTime} from an hour, minute, second and nanosecond. 222 * @param minute the minute-of-hour to represent, from 0 to 59 223 * @param second the second-of-minute to represent, from 0 to 59 229 public static OffsetTime of(int hour, int minute, int second, int nanoOfSecond, ZoneOffset offset) { argument 230 return new OffsetTime(LocalTime.of(hour, minute, second, nanoOfSecond), offset); 597 * This returns a {@code LocalTime} with the same hour, minute, second and 617 * Gets the minute-of-hour field. 619 * @return the minute 759 withMinute(int minute) argument [all...] |
H A D | OffsetDateTime.java | 275 * hour, minute, second, nanosecond and offset. 289 * @param minute the minute-of-hour to represent, from 0 to 59 290 * @param second the second-of-minute to represent, from 0 to 59 299 int hour, int minute, int second, int nanoOfSecond, ZoneOffset offset) { 300 LocalDateTime dt = LocalDateTime.of(year, month, dayOfMonth, hour, minute, second, nanoOfSecond); 811 * This returns a {@code LocalTime} with the same hour, minute, second and 830 * Gets the minute-of-hour field. 832 * @return the minute-of-hour, from 0 to 59 839 * Gets the second-of-minute fiel 297 of( int year, int month, int dayOfMonth, int hour, int minute, int second, int nanoOfSecond, ZoneOffset offset) argument 1069 withMinute(int minute) argument [all...] |
H A D | LocalDate.java | 1707 * specified hour and minute. 1713 * @param minute the minute-of-hour to use, from 0 to 59 1717 public LocalDateTime atTime(int hour, int minute) { argument 1718 return atTime(LocalTime.of(hour, minute)); 1725 * specified hour, minute and second. 1731 * @param minute the minute-of-hour to use, from 0 to 59 1732 * @param second the second-of-minute to represent, from 0 to 59 1736 public LocalDateTime atTime(int hour, int minute, in argument 1755 atTime(int hour, int minute, int second, int nanoOfSecond) argument [all...] |
H A D | ZonedDateTime.java | 292 * hour, minute, second, nanosecond and time-zone. 322 * @param minute the minute-of-hour to represent, from 0 to 59 323 * @param second the second-of-minute to represent, from 0 to 59 332 int hour, int minute, int second, int nanoOfSecond, ZoneId zone) { 333 LocalDateTime dt = LocalDateTime.of(year, month, dayOfMonth, hour, minute, second, nanoOfSecond); 1124 * This returns a {@code LocalTime} with the same hour, minute, second and 1144 * Gets the minute-of-hour field. 1146 * @return the minute-of-hour, from 0 to 59 1153 * Gets the second-of-minute fiel 330 of( int year, int month, int dayOfMonth, int hour, int minute, int second, int nanoOfSecond, ZoneId zone) argument 1442 withMinute(int minute) argument [all...] |
/libcore/luni/src/main/java/javax/xml/datatype/ |
H A D | XMLGregorianCalendar.java | 105 * For a value of 24, the minute and second field must be zero per 109 * <a name="datetimefield-minute"/> 111 * <td> minute </td> 200 * int minute, 209 * int minute, 316 * @param minute value constraints are summarized in 317 * <a href="#datetimefield-minute">minute field of date/time field mapping table</a>. 327 public void setTime(int hour, int minute, int second) { argument 331 minute, 359 setMinute(int minute) argument 416 setTime( int hour, int minute, int second, BigDecimal fractional) argument 444 setTime(int hour, int minute, int second, int millisecond) argument [all...] |
H A D | DatatypeFactory.java | 148 * Gregorian year, month, day, hour, minute, and second components defined in Section 5.5.3.2 of [ISO 8601], respectively. 150 * year, month, day, hour, minute, and second. 177 * Gregorian year, month, day, hour, minute, and second components defined in Section 5.5.3.2 of [ISO 8601], respectively. 179 * year, month, day, hour, minute, and second. 312 * whose lexical representation contains only day, hour, minute, and second components. 352 * whose lexical representation contains only day, hour, minute, and second components. 374 * <p>Any remaining milliseconds after determining the day, hour, minute and second are discarded.</p> 404 int milliseconds = (int) (val % 60000L); // 60000 milliseconds per minute 438 * <code>day</code>, <code>hour</code>, <code>minute</code> and <code>second</code> as defined in 443 * whose lexical representation contains only day, hour, minute, an 466 newDurationDayTime( final boolean isPositive, final BigInteger day, final BigInteger hour, final BigInteger minute, final BigInteger second) argument 508 newDurationDayTime( final boolean isPositive, final int day, final int hour, final int minute, final int second) argument 788 newXMLGregorianCalendar( final BigInteger year, final int month, final int day, final int hour, final int minute, final int second, final BigDecimal fractionalSecond, final int timezone) argument 824 newXMLGregorianCalendar( final int year, final int month, final int day, final int hour, final int minute, final int second, final int millisecond, final int timezone) argument [all...] |
/libcore/ojluni/src/main/java/java/util/ |
H A D | TimeZone.java | 632 int minute = 0; 636 minute = Integer.parseInt(m.group(3)); 642 if (hour < 0 || hour > 23 || minute < 0 || minute > 59) { 647 int raw = (hour * 3600000) + (minute * 60000); 652 String cleanId = String.format(Locale.ROOT, "GMT%c%02d:%02d", sign, hour, minute);
|
H A D | Calendar.java | 186 * <li> 23:59 is the last minute of the day and 00:00 is the first 187 * minute of the next day. Thus, 23:59 on Dec 31, 1999 < 00:00 on 522 * minute within the hour. 529 * second within the minute. 1233 * {@code hourOfDay}, {@code minute}, and {@code second}. This method is 1236 * setTimeOfDay(hourOfDay, minute, second, 0);</pre> 1240 * @param minute the {@link Calendar#MINUTE MINUTE} value 1244 public Builder setTimeOfDay(int hourOfDay, int minute, int second) { argument 1245 return setTimeOfDay(hourOfDay, minute, second, 0); 1250 * {@code hourOfDay}, {@code minute}, { 1265 setTimeOfDay(int hourOfDay, int minute, int second, int millis) argument 1912 set(int year, int month, int date, int hourOfDay, int minute) argument 1939 set(int year, int month, int date, int hourOfDay, int minute, int second) argument [all...] |
H A D | GregorianCalendar.java | 654 * @param minute the value used to set the <code>MINUTE</code> calendar field 658 int minute) { 659 this(year, month, dayOfMonth, hourOfDay, minute, 0, 0); 672 * @param minute the value used to set the <code>MINUTE</code> calendar field 678 int minute, int second) { 679 this(year, month, dayOfMonth, hourOfDay, minute, second, 0); 692 * @param minute the value used to set the <code>MINUTE</code> calendar field 699 int hourOfDay, int minute, int second, int millis) { 723 this.set(MINUTE, minute); 657 GregorianCalendar(int year, int month, int dayOfMonth, int hourOfDay, int minute) argument 677 GregorianCalendar(int year, int month, int dayOfMonth, int hourOfDay, int minute, int second) argument 698 GregorianCalendar(int year, int month, int dayOfMonth, int hourOfDay, int minute, int second, int millis) argument
|
/libcore/ojluni/src/main/java/sun/security/util/ |
H A D | DerInputBuffer.java | 313 int year, month, day, hour, minute, second, millis; 343 minute = 10 * Character.digit((char)buf[pos++], 10); 344 minute += Character.digit((char)buf[pos++], 10); 396 || hour >= 24 || minute >= 60 || second >= 60) 406 date.setTimeOfDay(hour, minute, second, millis);
|
/libcore/luni/src/test/java/libcore/java/util/ |
H A D | CalendarTest.java | 68 * drop an hour to keep the hour+minute constant unless that prevents the 152 int minute = 0; 155 calendar.set(year, month, day, hour, minute); 160 assertEquals(minute, calendar.get(Calendar.MINUTE)); 214 int year, int month, int day, int hour, int minute) { 219 assertEquals("minute", minute, calendar.get(Calendar.MINUTE)); 213 assertCalendarEquals(Calendar calendar, int year, int month, int day, int hour, int minute) argument
|
/libcore/luni/src/main/java/libcore/util/ |
H A D | ZoneInfo.java | 712 private int minute; field in class:ZoneInfo.WallTime 1096 public void setMinute(int minute) { argument 1097 this.minute = minute; 1137 return minute; 1165 calendar.set(Calendar.MINUTE, minute); 1175 minute = calendar.get(Calendar.MINUTE);
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
H A D | TCKZonedDateTime.java | 2412 int hour, int minute) { 2413 return LocalDateTime.of(year, month, dayOfMonth, hour, minute); 2418 int hour, int minute, int second, int nanoOfSecond) { 2419 return LocalDateTime.of(year, month, dayOfMonth, hour, minute, second, nanoOfSecond); 2424 int hour, int minute, int second, int nanoOfSecond, ZoneOffset offset, ZoneId zoneId) { 2425 return ZonedDateTime.ofStrict(LocalDateTime.of(year, month, dayOfMonth, hour, minute, second, nanoOfSecond), offset, zoneId); 2410 dateTime( int year, int month, int dayOfMonth, int hour, int minute) argument 2416 dateTime( int year, int month, int dayOfMonth, int hour, int minute, int second, int nanoOfSecond) argument 2422 dateTime( int year, int month, int dayOfMonth, int hour, int minute, int second, int nanoOfSecond, ZoneOffset offset, ZoneId zoneId) argument
|