Home
last modified time | relevance | path

Searched refs:second (Results 1 – 15 of 15) sorted by relevance

/libcore/luni/src/main/java/javax/xml/datatype/
DXMLGregorianCalendar.java327 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()
DDatatypeFactory.java471 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/
DFileWriterTest.java67 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/luni/src/test/java/libcore/util/
DZoneInfoDBTest.java85 ZoneInfo second = data.makeTimeZone(tzId); in testMakeTimeZone_timeZoneMutability() local
86 assertNotSame(first, second); in testMakeTimeZone_timeZoneMutability()
88 assertTrue(first.hasSameRules(second)); in testMakeTimeZone_timeZoneMutability()
92 assertFalse(first.getID().equals(second.getID())); in testMakeTimeZone_timeZoneMutability()
95 assertFalse(first.getRawOffset() == second.getRawOffset()); in testMakeTimeZone_timeZoneMutability()
/libcore/luni/src/main/java/java/util/
DDate.java126 public Date(int year, int month, int day, int hour, int minute, int second) { in Date() argument
128 cal.set(1900 + year, month, day, hour, minute, second); in Date()
388 int hour = -1, minute = -1, second = -1, zoneOffset = 0, minutesOffset = 0; in parse() local
467 } else if (minute != -1 && second == -1) { in parse()
468 second = digit; in parse()
539 if (second == -1) { in parse()
540 second = 0; in parse()
555 return UTC(year - 1900, month, date, hour, minute, second); in parse()
557 return new Date(year - 1900, month, date, hour, minute, second) in parse()
632 public void setSeconds(int second) { in setSeconds() argument
[all …]
DCalendar.java1163 public final void set(int year, int month, int day, int hourOfDay, int minute, int second) { in set() argument
1165 set(SECOND, second); in set()
DGregorianCalendar.java288 int minute, int second) { in GregorianCalendar() argument
290 set(year, month, day, hour, minute, second); in GregorianCalendar()
/libcore/libart/src/main/java/java/lang/
DClassLoader.java425 Enumeration<URL> second = findResources(resName); in getResources() local
427 return new TwoEnumerationsInOne(first, second); in getResources()
734 private final Enumeration<URL> second; field in TwoEnumerationsInOne
736 public TwoEnumerationsInOne(Enumeration<URL> first, Enumeration<URL> second) { in TwoEnumerationsInOne() argument
738 this.second = second; in TwoEnumerationsInOne()
743 return first.hasMoreElements() || second.hasMoreElements(); in hasMoreElements()
751 return second.nextElement(); in nextElement()
/libcore/luni/src/main/java/libcore/icu/
DICU.java79 final int second = string.indexOf('_', first + 1); in parseLangScriptRegionAndVariants() local
80 final int third = string.indexOf('_', second + 1); in parseLangScriptRegionAndVariants()
84 } else if (second == -1) { in parseLangScriptRegionAndVariants()
111 final String secondString = string.substring(first + 1, second); in parseLangScriptRegionAndVariants()
112 final String thirdString = string.substring(second + 1); in parseLangScriptRegionAndVariants()
141 final String secondString = string.substring(first + 1, second); in parseLangScriptRegionAndVariants()
144 outputArray[IDX_REGION] = string.substring(second + 1, third); in parseLangScriptRegionAndVariants()
148 outputArray[IDX_VARIANT] = string.substring(second + 1); in parseLangScriptRegionAndVariants()
/libcore/luni/src/main/java/java/sql/
DTime.java243 int second = Integer.parseInt(timeString.substring(secondIndex + 1, in valueOf() local
245 return new Time(hour, minute, second); in valueOf()
/libcore/luni/src/main/java/libcore/util/
DZoneInfo.java356 private int second; field in ZoneInfo.WallTime
750 public void setSecond(int second) {
751 this.second = second;
791 return second;
816 calendar.set(Calendar.SECOND, second);
825 second = calendar.get(Calendar.SECOND);
/libcore/luni/src/test/java/libcore/java/util/prefs/
DOldAbstractPreferencesTest.java669 AbstractPreferences second = (AbstractPreferences) pref.node("Second node"); in testChildrenNames() local
673 assertEquals(0, second.childrenNames().length); in testChildrenNames()
675 second.removeNode(); in testChildrenNames()
678 second.childrenNames(); in testChildrenNames()
730 AbstractPreferences second = (AbstractPreferences) pref.node("Second node"); in testNode() local
761 second.removeNode(); in testNode()
764 second.node(""); in testNode()
848 AbstractPreferences second = (AbstractPreferences) pref.node("Second node/sub node"); in testName() local
852 assertTrue(second.name().compareTo("sub node") == 0); in testName()
/libcore/luni/src/main/java/java/net/
DURI.java783 private boolean escapedEquals(String first, String second) { in escapedEquals() argument
788 if (first.length() != second.length()) { in escapedEquals()
795 int index1 = second.indexOf('%', prevIndex); in escapedEquals()
805 return first.regionMatches(prevIndex, second, prevIndex, in escapedEquals()
806 second.length() - prevIndex); in escapedEquals()
809 if (!first.regionMatches(prevIndex, second, prevIndex, (index - prevIndex))) { in escapedEquals()
813 if (!first.regionMatches(true /* ignore case */, index + 1, second, index + 1, 2)) { in escapedEquals()
/libcore/benchmarks/libs/
Dcaliper.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/libcore/luni/src/test/java/libcore/java/net/
DURLConnectionTest.java1506 RecordedRequest second = server2.takeRequest();
1507 assertContains(second.getHeaders(), "Host: " + hostName + ":" + server2.getPort());