Home
last modified time | relevance | path

Searched refs:minute (Results 1 – 20 of 20) sorted by relevance

/libcore/ojluni/src/main/java/java/time/
DLocalTime.java215 private final byte minute; field in LocalTime
289 public static LocalTime of(int hour, int minute) { in of() argument
291 if (minute == 0) { in of()
294 MINUTE_OF_HOUR.checkValidValue(minute); in of()
295 return new LocalTime(hour, minute, 0, 0); in of()
310 public static LocalTime of(int hour, int minute, int second) { in of() argument
312 if ((minute | second) == 0) { in of()
315 MINUTE_OF_HOUR.checkValidValue(minute); in of()
317 return new LocalTime(hour, minute, second, 0); in of()
332 public static LocalTime of(int hour, int minute, int second, int nanoOfSecond) { in of() argument
[all …]
DLocalDateTime.java229 public static LocalDateTime of(int year, Month month, int dayOfMonth, int hour, int minute) { in of() argument
231 LocalTime time = LocalTime.of(hour, minute); in of()
254 …public static LocalDateTime of(int year, Month month, int dayOfMonth, int hour, int minute, int se… in of() argument
256 LocalTime time = LocalTime.of(hour, minute, second); in of()
279 …public static LocalDateTime of(int year, Month month, int dayOfMonth, int hour, int minute, int se… in of() argument
281 LocalTime time = LocalTime.of(hour, minute, second, nanoOfSecond); in of()
304 public static LocalDateTime of(int year, int month, int dayOfMonth, int hour, int minute) { in of() argument
306 LocalTime time = LocalTime.of(hour, minute); in of()
329 …public static LocalDateTime of(int year, int month, int dayOfMonth, int hour, int minute, int seco… in of() argument
331 LocalTime time = LocalTime.of(hour, minute, second); in of()
[all …]
DOffsetTime.java229 …public static OffsetTime of(int hour, int minute, int second, int nanoOfSecond, ZoneOffset offset)… in of() argument
230 return new OffsetTime(LocalTime.of(hour, minute, second, nanoOfSecond), offset); in of()
759 public OffsetTime withMinute(int minute) { in withMinute() argument
760 return with(time.withMinute(minute), offset); in withMinute()
DLocalDate.java1717 public LocalDateTime atTime(int hour, int minute) { in atTime() argument
1718 return atTime(LocalTime.of(hour, minute)); in atTime()
1736 public LocalDateTime atTime(int hour, int minute, int second) { in atTime() argument
1737 return atTime(LocalTime.of(hour, minute, second)); in atTime()
1755 public LocalDateTime atTime(int hour, int minute, int second, int nanoOfSecond) { in atTime() argument
1756 return atTime(LocalTime.of(hour, minute, second, nanoOfSecond)); in atTime()
DOffsetDateTime.java299 int hour, int minute, int second, int nanoOfSecond, ZoneOffset offset) { in of() argument
300 … 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()
DZonedDateTime.java332 int hour, int minute, int second, int nanoOfSecond, ZoneId zone) { in of() argument
333 … LocalDateTime dt = LocalDateTime.of(year, month, dayOfMonth, hour, minute, second, nanoOfSecond); in of()
1442 public ZonedDateTime withMinute(int minute) { in withMinute() argument
1443 return resolveLocal(dateTime.withMinute(minute)); in withMinute()
/libcore/ojluni/src/main/java/java/sql/
DTime.java58 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()
DTimestamp.java88 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/
DXMLGregorianCalendar.java327 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()
DDatatypeFactory.java470 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/ojluni/src/main/java/java/util/
DTimeZone.java634 int minute = 0; in getCustomTimeZone() local
638 minute = Integer.parseInt(m.group(3)); in getCustomTimeZone()
644 if (hour < 0 || hour > 23 || minute < 0 || minute > 59) { in getCustomTimeZone()
649 int raw = (hour * 3600000) + (minute * 60000); in getCustomTimeZone()
654 String cleanId = String.format(Locale.ROOT, "GMT%c%02d:%02d", sign, hour, minute); in getCustomTimeZone()
DCalendar.java1244 public Builder setTimeOfDay(int hourOfDay, int minute, int second) { in setTimeOfDay() argument
1245 return setTimeOfDay(hourOfDay, minute, second, 0); in setTimeOfDay()
1265 public Builder setTimeOfDay(int hourOfDay, int minute, int second, int millis) { in setTimeOfDay() argument
1266 return setFields(HOUR_OF_DAY, hourOfDay, MINUTE, minute, in setTimeOfDay()
1912 public final void set(int year, int month, int date, int hourOfDay, int minute) in set() argument
1918 set(MINUTE, minute); in set()
1939 public final void set(int year, int month, int date, int hourOfDay, int minute, in set() argument
1946 set(MINUTE, minute); in set()
DGregorianCalendar.java658 int minute) { in GregorianCalendar() argument
659 this(year, month, dayOfMonth, hourOfDay, minute, 0, 0); in GregorianCalendar()
678 int minute, int second) { in GregorianCalendar() argument
679 this(year, month, dayOfMonth, hourOfDay, minute, second, 0); in GregorianCalendar()
699 int hourOfDay, int minute, int second, int millis) { in GregorianCalendar() argument
723 this.set(MINUTE, minute); in GregorianCalendar()
/libcore/ojluni/src/main/java/sun/security/util/
DDerInputBuffer.java313 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/
DCalendarTest.java152 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/
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/ojluni/annotations/hiddenapi/java/time/
DOffsetDateTime.java115 int minute, in of() argument
257 public java.time.OffsetDateTime withMinute(int minute) { in withMinute() argument
/libcore/tools/testmapping/
Dgen_smoke_tests.py98 minute=int(cts_match.group(4)),
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKZonedDateTime.java2412 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, nano…