/libcore/ojluni/src/main/java/java/time/ |
D | LocalTime.java | 219 private final byte second; field in LocalTime 310 public static LocalTime of(int hour, int minute, int second) { in of() argument 312 if ((minute | second) == 0) { in of() 316 SECOND_OF_MINUTE.checkValidValue(second); 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 335 SECOND_OF_MINUTE.checkValidValue(second); in of() 337 return create(hour, minute, second, nanoOfSecond); in of() 450 private static LocalTime create(int hour, int minute, int second, int nanoOfSecond) { in create() argument 451 if ((minute | second | nanoOfSecond) == 0) { in create() [all …]
|
D | LocalDateTime.java | 254 … static LocalDateTime of(int year, Month month, int dayOfMonth, int hour, int minute, int second) { in of() argument 256 LocalTime time = LocalTime.of(hour, minute, second); in of() 279 …Time of(int year, Month month, int dayOfMonth, int hour, int minute, int second, int nanoOfSecond)… in of() argument 281 LocalTime time = LocalTime.of(hour, minute, second, nanoOfSecond); in of() 329 …ic static LocalDateTime of(int year, int month, int dayOfMonth, int hour, int minute, int second) { in of() argument 331 LocalTime time = LocalTime.of(hour, minute, second); in of() 354 …teTime of(int year, int month, int dayOfMonth, int hour, int minute, int second, int nanoOfSecond)… in of() argument 356 LocalTime time = LocalTime.of(hour, minute, second, nanoOfSecond); in of() 1074 public LocalDateTime withSecond(int second) { in withSecond() argument 1075 LocalTime newTime = time.withSecond(second); in withSecond()
|
D | OffsetTime.java | 229 …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() 774 public OffsetTime withSecond(int second) { in withSecond() argument 775 return with(time.withSecond(second), offset); in withSecond()
|
D | OffsetDateTime.java | 299 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() 1084 public OffsetDateTime withSecond(int second) { in withSecond() argument 1085 return with(dateTime.withSecond(second), offset); in withSecond()
|
/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() 93 int second; in valueOf() local 106 second = Integer.parseInt(s.substring(secondColon+1)); in valueOf() 111 return new Time(hour, minute, second); in valueOf() 122 int second = super.getSeconds(); in toString() local 137 if (second < 10) { in toString() 138 secondString = "0" + second; in toString() 140 secondString = Integer.toString(second); 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() 180 int second; in valueOf() local 245 second = in valueOf() 257 second = Integer.parseInt(time_s.substring(secondColon+1)); in valueOf() 263 return new Timestamp(year - 1900, month - 1, day, hour, minute, second, a_nanos); in valueOf() 281 int second = super.getSeconds(); in toString() local 321 if (second < 10) { in toString() 322 secondString = "0" + second; in toString() 324 secondString = Integer.toString(second); 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 332 second, in setTime() 371 public abstract void setSecond(int second); in setSecond() argument 419 int second, in setTime() argument 424 setSecond(second); in setTime() 444 public void setTime(int hour, int minute, int second, int millisecond) { in setTime() argument 448 setSecond(second); in setTime()
|
D | DatatypeFactory.java | 471 final BigInteger second) { in newDurationDayTime() argument 480 (second != null)? new BigDecimal(second):null in newDurationDayTime() 513 final int second) { in newDurationDayTime() argument 516 day, hour, minute, second); in newDurationDayTime() 794 final int second, in newXMLGregorianCalendar() argument 830 final int second, in newXMLGregorianCalendar() argument 857 second, in newXMLGregorianCalendar()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | FileWriterTest.java | 67 String second = "The second String for testing."; in test_ConstructorLjava_io_FileZ() local 68 fileWriter.write(second); in test_ConstructorLjava_io_FileZ() 72 char[] out = new char[first.length() + second.length() + 10]; in test_ConstructorLjava_io_FileZ() 75 assertEquals(first + second, new String(out, 0, length)); in test_ConstructorLjava_io_FileZ() 83 second = "The second String for testing."; in test_ConstructorLjava_io_FileZ() 84 fileWriter.write(second); in test_ConstructorLjava_io_FileZ() 88 out = new char[first.length() + second.length() + 10]; in test_ConstructorLjava_io_FileZ() 91 assertEquals(second, new String(out, 0, length)); in test_ConstructorLjava_io_FileZ()
|
/libcore/ojluni/src/main/java/sun/security/util/ |
D | ObjectIdentifier.java | 150 int first = 0, second; in ObjectIdentifier() local 376 BigInteger second = big.subtract(BigInteger.valueOf(80)); in toIntArray() local 377 if (second.compareTo(BigInteger.valueOf(Integer.MAX_VALUE)) == 1) { in toIntArray() 380 result[which++] = second.intValue(); in toIntArray() 643 private static void checkSecondComponent(int first, int second) throws IOException { in checkSecondComponent() argument 644 if (second < 0 || first != 2 && second > 39) { in checkSecondComponent() 649 private static void checkSecondComponent(int first, BigInteger second) throws IOException { in checkSecondComponent() argument 650 if (second.signum() == -1 || in checkSecondComponent() 652 second.compareTo(BigInteger.valueOf(39)) == 1) { in checkSecondComponent()
|
D | DerInputBuffer.java | 313 int year, month, day, hour, minute, second, millis; in getTime() local 356 second = 10 * Character.digit((char)buf[pos++], 10); in getTime() 357 second += Character.digit((char)buf[pos++], 10); in getTime() 392 second = 0; in getTime() 396 || hour >= 24 || minute >= 60 || second >= 60) in getTime() 406 date.setTimeOfDay(hour, minute, second, millis); in getTime()
|
/libcore/luni/src/main/java/libcore/icu/ |
D | ICU.java | 88 final int second = string.indexOf('_', first + 1); in parseLangScriptRegionAndVariants() local 89 final int third = string.indexOf('_', second + 1); in parseLangScriptRegionAndVariants() 93 } else if (second == -1) { in parseLangScriptRegionAndVariants() 120 final String secondString = string.substring(first + 1, second); in parseLangScriptRegionAndVariants() 121 final String thirdString = string.substring(second + 1); in parseLangScriptRegionAndVariants() 150 final String secondString = string.substring(first + 1, second); in parseLangScriptRegionAndVariants() 153 outputArray[IDX_REGION] = string.substring(second + 1, third); in parseLangScriptRegionAndVariants() 157 outputArray[IDX_VARIANT] = string.substring(second + 1); in parseLangScriptRegionAndVariants()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | TimSortTest.java | 30 public int compare(Integer first, Integer second) { 31 return first.compareTo(second);
|
/libcore/luni/src/test/java/libcore/libcore/timezone/ |
D | ZoneInfoDBTest.java | 222 ZoneInfo second = data.makeTimeZone(tzId); in testMakeTimeZone_timeZoneMutability() local 223 assertNotSame(first, second); in testMakeTimeZone_timeZoneMutability() 225 assertTrue(first.hasSameRules(second)); in testMakeTimeZone_timeZoneMutability() 229 assertFalse(first.getID().equals(second.getID())); in testMakeTimeZone_timeZoneMutability() 232 assertFalse(first.getRawOffset() == second.getRawOffset()); in testMakeTimeZone_timeZoneMutability()
|
/libcore/luni/src/test/java/libcore/java/security/ |
D | ProviderTest.java | 1078 private final B second; field in ProviderTest.Pair 1079 Pair(A first, B second) { in Pair() argument 1081 this.second = second; in Pair() 1099 provAndParam.operationParameters.second); 1111 provAndParam.operationParameters.second); 1120 provAndParam.operationParameters.second); 1126 provAndParam.operationParameters.second); 1132 provAndParam.operationParameters.second); 1141 provAndParam.operationParameters.second); 1147 provAndParam.operationParameters.first.second, [all …]
|
/libcore/luni/src/test/java/libcore/java/time/ |
D | DurationTest.java | 139 Duration second = Duration.ofSeconds(1); in test_addTo_subtractFrom_unsupported() local 146 second.addTo(temporal); in test_addTo_subtractFrom_unsupported() 151 second.subtractFrom(temporal); in test_addTo_subtractFrom_unsupported()
|
/libcore/ojluni/annotations/hiddenapi/sun/security/util/ |
D | ObjectIdentifier.java | 131 private static void checkSecondComponent(int first, int second) throws java.io.IOException { in checkSecondComponent() argument 135 private static void checkSecondComponent(int first, java.math.BigInteger second) in checkSecondComponent() argument
|
/libcore/luni/src/main/java/libcore/util/ |
D | ZoneInfo.java | 745 private int second; field in ZoneInfo.WallTime 1143 public void setSecond(int second) { 1144 this.second = second; 1194 return second; 1223 calendar.set(Calendar.SECOND, second); 1233 second = calendar.get(Calendar.SECOND);
|
/libcore/luni/src/test/java/libcore/java/util/prefs/ |
D | OldAbstractPreferencesTest.java | 676 AbstractPreferences second = (AbstractPreferences) pref.node("Second node"); in testChildrenNames() local 680 assertEquals(0, second.childrenNames().length); in testChildrenNames() 682 second.removeNode(); in testChildrenNames() 685 second.childrenNames(); in testChildrenNames() 737 AbstractPreferences second = (AbstractPreferences) pref.node("Second node"); in testNode() local 768 second.removeNode(); in testNode() 771 second.node(""); in testNode() 855 AbstractPreferences second = (AbstractPreferences) pref.node("Second node/sub node"); in testName() local 859 assertTrue(second.name().compareTo("sub node") == 0); in testName()
|
/libcore/ojluni/annotations/sdk/nullability/java/util/ |
D | Calendar.annotated.java | 86 public final void set(int year, int month, int date, int hourOfDay, int minute, int second) { throw… in set() argument 287 …c java.util.Calendar.Builder setTimeOfDay(int hourOfDay, int minute, int second) { throw new Runti… in setTimeOfDay() argument 289 …c java.util.Calendar.Builder setTimeOfDay(int hourOfDay, int minute, int second, int millis) { thr… in setTimeOfDay() argument
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | CollectionAndMapModifyStreamTest.java | 163 Map.Entry<Integer, Integer> second = c.iterator().next(); in testEntrySetSizeRemove() local 164 assertTrue(c.remove(second)); in testEntrySetSizeRemove()
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | Calendar.java | 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/src/main/java/java/lang/ |
D | Long.java | 703 int second = Character.digit(s.charAt(len - 1), radix); in parseUnsignedLong() local 704 if (second < 0) { in parseUnsignedLong() 707 long result = first * radix + second; in parseUnsignedLong()
|
/libcore/ojluni/src/main/java/java/util/ |
D | Calendar.java | 1244 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 1267 SECOND, second, MILLISECOND, millis); in setTimeOfDay() 1940 int second) in set() argument 1947 set(SECOND, second); in set()
|
/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/ |
D | StreamReuseTest.java | 42 Function<S, U> second, in assertSecondFails() argument 48 U sr = second.apply(stream); in assertSecondFails() 66 U sr = second.apply(stream); in assertSecondFails()
|