/libcore/luni/src/test/java/libcore/javax/xml/datatype/ |
D | DatatypeFactoryTest.java | 51 assertEquals(6, duration.getSeconds()); in testNewDuration_biiiiii() 61 assertEquals(6, duration.getSeconds()); in testNewDurationDayTime_biiii() 73 assertEquals(6, duration.getSeconds()); in testNewDurationDayTime_bBigInteger() 83 assertEquals(6, duration.getSeconds()); in testNewDurationDayTime_bBigInteger() 101 assertEquals(1, duration.getSeconds()); in testNewDurationDayTime_long() 109 assertEquals(1, duration.getSeconds()); in testNewDurationDayTime_long() 119 assertEquals(0, duration.getSeconds()); in testNewDurationYearMonth_bii() 129 assertEquals(0, duration.getSeconds()); in testNewDurationYearMonth_bBigInteger() 144 assertEquals(1, duration.getSeconds()); in testNewDurationYearMonth_long()
|
D | DurationTest.java | 91 assertEquals(1, oneSecond.getSeconds()); in testGetSeconds() 92 assertEquals(0, tenMinutes.getSeconds()); in testGetSeconds() 93 assertEquals(0, oneDay.getSeconds()); in testGetSeconds() 94 assertEquals(0, fiveDays.getSeconds()); in testGetSeconds() 95 assertEquals(0, twoMonths.getSeconds()); in testGetSeconds() 96 assertEquals(0, threeYears.getSeconds()); in testGetSeconds() 97 assertEquals(1, y6m5d4h3m2s1.getSeconds()); in testGetSeconds()
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKDuration.java | 114 assertEquals(Duration.ZERO.getSeconds(), 0L); in test_zero() 125 assertEquals(t.getSeconds(), i); in factory_seconds_long() 138 assertEquals(t.getSeconds(), i); in factory_seconds_long_long() 143 assertEquals(t.getSeconds(), i - 1); in factory_seconds_long_long() 148 assertEquals(t.getSeconds(), i); in factory_seconds_long_long() 157 assertEquals(test.getSeconds(), 1); in factory_seconds_long_long_nanosNegativeAdjusted() 189 assertEquals(test.getSeconds(), expectedSeconds); in factory_millis_long() 199 assertEquals(test.getSeconds(), 0); in factory_nanos_nanos() 206 assertEquals(test.getSeconds(), 1); in factory_nanos_nanosSecs() 213 assertEquals(test.getSeconds(), -3); in factory_nanos_negative() [all …]
|
/libcore/ojluni/src/main/java/sun/util/calendar/ |
D | ImmutableGregorianDate.java | 121 public int getSeconds() { in getSeconds() method in ImmutableGregorianDate 122 return date.getSeconds(); in getSeconds()
|
D | AbstractCalendar.java | 237 fraction += date.getSeconds(); in getTimeOfDayValue() 368 t = date.getSeconds(); in validateTime()
|
D | CalendarDate.java | 258 public int getSeconds() { in getSeconds() method in CalendarDate
|
/libcore/ojluni/src/main/java/java/time/ |
D | Duration.java | 607 public long getSeconds() { in getSeconds() method in Duration 673 return plus(duration.getSeconds(), duration.getNano()); in plus() 713 return plusSeconds(duration.getSeconds()).plusNanos(duration.getNano()); in plus() 830 long secsToSubtract = duration.getSeconds(); in minus() 1352 if (unitDur.getSeconds() > LocalTime.SECONDS_PER_DAY) { in truncatedTo()
|
D | Instant.java | 746 if (unitDur.getSeconds() > LocalTime.SECONDS_PER_DAY) { in truncatedTo()
|
D | LocalTime.java | 971 if (unitDur.getSeconds() > SECONDS_PER_DAY) { in truncatedTo()
|
D | ZonedDateTime.java | 374 localDateTime = localDateTime.plusSeconds(trans.getDuration().getSeconds()); in ofLocal()
|
/libcore/ojluni/src/main/java/java/util/ |
D | Date.java | 875 public int getSeconds() { in getSeconds() method in Date 876 return normalize().getSeconds(); in getSeconds() 1064 CalendarUtils.sprintf0d(sb, date.getSeconds(), 2).append(' '); // ss in toString() 1152 CalendarUtils.sprintf0d(sb, date.getSeconds(), 2); // ss in toGMTString() 1244 int ss = date.getSeconds(); in normalize()
|
D | GregorianCalendar.java | 1969 maxEnd += d.getSeconds(); in getActualMaximum()
|
/libcore/luni/src/test/java/libcore/java/text/ |
D | OldDateFormatTest.java | 237 assertEquals(0, date.getSeconds()); in test_parseLString() 270 assertEquals(0, date.getSeconds()); in test_parseLString() 298 assertEquals(0, date.getSeconds()); in test_parseLString() 312 assertEquals(0, date.getSeconds()); in test_parseLString()
|
/libcore/ojluni/src/main/java/java/sql/ |
D | Time.java | 122 int second = super.getSeconds(); in toString()
|
D | Date.java | 214 public int getSeconds() { in getSeconds() method in Date
|
D | Timestamp.java | 281 int second = super.getSeconds(); in toString()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | DateTest.java | 257 assertEquals("Returned incorrect seconds", 0, d.getSeconds()); in test_getSeconds() 401 assertEquals("Set incorrect seconds", 13, d.getSeconds()); in test_setSecondsI()
|
/libcore/ojluni/annotations/hiddenapi/sun/util/calendar/ |
D | ImmutableGregorianDate.java | 115 public int getSeconds() { in getSeconds() method in ImmutableGregorianDate
|
D | CalendarDate.java | 126 public int getSeconds() { in getSeconds() method in CalendarDate
|
/libcore/ojluni/src/test/java/util/GregorianCalendar/ |
D | GregorianCalendarTest.java | 65 gc.get(java.util.Calendar.SECOND) == date.getSeconds())) { in testGregorianCalendar()
|
/libcore/luni/src/main/java/javax/xml/datatype/ |
D | Duration.java | 298 public int getSeconds() { in getSeconds() method in Duration
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | TimeUnit.java | 218 long secs = duration.getSeconds(); in convert()
|
/libcore/ojluni/annotations/hiddenapi/java/time/ |
D | Duration.java | 165 public long getSeconds() { in getSeconds() method in Duration
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | ChronoZonedDateTimeImpl.java | 150 localDateTime = localDateTime.plusSeconds(trans.getDuration().getSeconds()); in ofBest()
|
/libcore/api/ |
D | current.txt | 11223 method public long getSeconds(); 13426 method @Deprecated public int getSeconds(); 19601 method public int getSeconds();
|