/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKDuration.java | 112 assertEquals(Duration.ZERO.getSeconds(), 0L); in test_zero() 123 assertEquals(t.getSeconds(), i); in factory_seconds_long() 136 assertEquals(t.getSeconds(), i); in factory_seconds_long_long() 141 assertEquals(t.getSeconds(), i - 1); in factory_seconds_long_long() 146 assertEquals(t.getSeconds(), i); in factory_seconds_long_long() 155 assertEquals(test.getSeconds(), 1); in factory_seconds_long_long_nanosNegativeAdjusted() 187 assertEquals(test.getSeconds(), expectedSeconds); in factory_millis_long() 197 assertEquals(test.getSeconds(), 0); in factory_nanos_nanos() 204 assertEquals(test.getSeconds(), 1); in factory_nanos_nanosSecs() 211 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 | 235 fraction += date.getSeconds(); in getTimeOfDayValue() 366 t = date.getSeconds(); in validateTime()
|
D | CalendarDate.java | 258 public int getSeconds() { in getSeconds() method in CalendarDate
|
/libcore/ojluni/src/main/java/java/util/ |
D | Date.java | 877 public int getSeconds() { in getSeconds() method in Date 878 return normalize().getSeconds(); in getSeconds() 1063 CalendarUtils.sprintf0d(sb, date.getSeconds(), 2).append(' '); // ss in toString() 1151 CalendarUtils.sprintf0d(sb, date.getSeconds(), 2); // ss in toGMTString() 1243 int ss = date.getSeconds(); in normalize()
|
D | GregorianCalendar.java | 1972 maxEnd += d.getSeconds(); in getActualMaximum()
|
/libcore/ojluni/src/main/java/java/util/zip/ |
D | ZipUtils.java | 105 d.getSeconds() >> 1) & 0xffffffffL; in javaToDosTime()
|
/libcore/luni/src/test/java/libcore/java/text/ |
D | OldDateFormatTest.java | 232 assertEquals(0, date.getSeconds()); in test_parseLString() 265 assertEquals(0, date.getSeconds()); in test_parseLString() 293 assertEquals(0, date.getSeconds()); in test_parseLString() 307 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 | 207 public int getSeconds() { in getSeconds() method in Date
|
D | Timestamp.java | 281 int second = super.getSeconds(); in toString()
|
/libcore/ojluni/src/main/java/java/time/ |
D | Duration.java | 604 public long getSeconds() { in getSeconds() method in Duration 670 return plus(duration.getSeconds(), duration.getNano()); in plus() 710 return plusSeconds(duration.getSeconds()).plusNanos(duration.getNano()); in plus() 827 long secsToSubtract = duration.getSeconds(); in minus()
|
D | Instant.java | 747 if (unitDur.getSeconds() > LocalTime.SECONDS_PER_DAY) { in truncatedTo()
|
D | LocalTime.java | 948 if (unitDur.getSeconds() > SECONDS_PER_DAY) { in truncatedTo()
|
D | ZonedDateTime.java | 373 localDateTime = localDateTime.plusSeconds(trans.getDuration().getSeconds()); in ofLocal()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | DateTest.java | 255 assertEquals("Returned incorrect seconds", 0, d.getSeconds()); in test_getSeconds() 399 assertEquals("Set incorrect seconds", 13, d.getSeconds()); in test_setSecondsI()
|
/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/time/chrono/ |
D | ChronoZonedDateTimeImpl.java | 149 localDateTime = localDateTime.plusSeconds(trans.getDuration().getSeconds()); in ofBest()
|