Home
last modified time | relevance | path

Searched refs:getSeconds (Results 1 – 19 of 19) sorted by relevance

/libcore/ojluni/src/main/java/sun/util/calendar/
DImmutableGregorianDate.java121 public int getSeconds() { in getSeconds() method in ImmutableGregorianDate
122 return date.getSeconds(); in getSeconds()
DAbstractCalendar.java237 fraction += date.getSeconds(); in getTimeOfDayValue()
368 t = date.getSeconds(); in validateTime()
DCalendarDate.java258 public int getSeconds() { in getSeconds() method in CalendarDate
/libcore/ojluni/src/main/java/java/time/
DDuration.java606 public long getSeconds() { in getSeconds() method in Duration
672 return plus(duration.getSeconds(), duration.getNano()); in plus()
712 return plusSeconds(duration.getSeconds()).plusNanos(duration.getNano()); in plus()
829 long secsToSubtract = duration.getSeconds(); in minus()
1351 if (unitDur.getSeconds() > LocalTime.SECONDS_PER_DAY) { in truncatedTo()
DInstant.java747 if (unitDur.getSeconds() > LocalTime.SECONDS_PER_DAY) { in truncatedTo()
DLocalTime.java971 if (unitDur.getSeconds() > SECONDS_PER_DAY) { in truncatedTo()
/libcore/ojluni/src/main/java/java/util/
DDate.java877 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()
DGregorianCalendar.java1972 maxEnd += d.getSeconds(); in getActualMaximum()
/libcore/ojluni/src/main/java/java/util/zip/
DZipUtils.java105 d.getSeconds() >> 1) & 0xffffffffL; in javaToDosTime()
/libcore/ojluni/src/main/java/java/sql/
DTime.java122 int second = super.getSeconds(); in toString()
DDate.java214 public int getSeconds() { in getSeconds() method in Date
DTimestamp.java281 int second = super.getSeconds(); in toString()
/libcore/luni/src/test/java/libcore/java/text/
DOldDateFormatTest.java232 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/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DDateTest.java255 assertEquals("Returned incorrect seconds", 0, d.getSeconds()); in test_getSeconds()
399 assertEquals("Set incorrect seconds", 13, d.getSeconds()); in test_setSecondsI()
/libcore/ojluni/annotations/hiddenapi/sun/util/calendar/
DImmutableGregorianDate.java115 public int getSeconds() { in getSeconds() method in ImmutableGregorianDate
DCalendarDate.java126 public int getSeconds() { in getSeconds() method in CalendarDate
/libcore/luni/src/main/java/javax/xml/datatype/
DDuration.java298 public int getSeconds() { in getSeconds() method in Duration
/libcore/ojluni/annotations/hiddenapi/java/time/
DDuration.java165 public long getSeconds() { in getSeconds() method in Duration
/libcore/ojluni/src/main/java/java/time/chrono/
DChronoZonedDateTimeImpl.java149 localDateTime = localDateTime.plusSeconds(trans.getDuration().getSeconds()); in ofBest()