Home
last modified time | relevance | path

Searched defs:seconds (Results 1 – 25 of 27) sorted by relevance

12

/libcore/ojluni/src/main/java/java/time/
DZoneOffset.java205 final int hours, minutes, seconds; in of() local
310 public static ZoneOffset ofHoursMinutesSeconds(int hours, int minutes, int seconds) { in ofHoursMinutesSeconds()
356 private static void validate(int hours, int minutes, int seconds) { in validate()
393 private static int totalSeconds(int hours, int minutes, int seconds) { in totalSeconds()
DDuration.java153 private final long seconds; field in Duration
215 public static Duration ofSeconds(long seconds) { in ofSeconds()
238 public static Duration ofSeconds(long seconds, long nanoAdjustment) { in ofSeconds()
396 long seconds = parseNumber(text, secondMatch, 1, "seconds"); in parse() local
436 …long seconds = Math.addExact(daysAsSecs, Math.addExact(hoursAsSecs, Math.addExact(minsAsSecs, secs… in create() local
492 private static Duration create(long seconds, int nanoAdjustment) { in create()
505 private Duration(long seconds, int nanos) { in Duration()
638 public Duration withSeconds(long seconds) { in withSeconds()
996 private static Duration create(BigDecimal seconds) { in create()
1336 long seconds = in.readLong(); in readExternal() local
DInstant.java247 private final long seconds; field in Instant
400 private static Instant create(long seconds, int nanoOfSecond) { in create()
1360 long seconds = in.readLong(); in readExternal() local
DOffsetTime.java921 public OffsetTime plusSeconds(long seconds) { in plusSeconds()
1032 public OffsetTime minusSeconds(long seconds) { in minusSeconds()
DLocalDateTime.java1320 public LocalDateTime plusSeconds(long seconds) { in plusSeconds()
1515 public LocalDateTime minusSeconds(long seconds) { in minusSeconds()
1546 …ateTime plusWithOverflow(LocalDate newDate, long hours, long minutes, long seconds, long nanos, in… in plusWithOverflow()
DOffsetDateTime.java1311 public OffsetDateTime plusSeconds(long seconds) { in plusSeconds()
1500 public OffsetDateTime minusSeconds(long seconds) { in minusSeconds()
DZonedDateTime.java1754 public ZonedDateTime plusSeconds(long seconds) { in plusSeconds()
1995 public ZonedDateTime minusSeconds(long seconds) { in minusSeconds()
DLocalTime.java375 int seconds = (int) (nanoOfDay / NANOS_PER_SECOND); in ofNanoOfDay() local
/libcore/luni/src/main/java/javax/xml/datatype/
DDatatypeFactory.java238 final BigDecimal seconds); in newDuration()
275 final int seconds) { in newDuration()
409 int seconds = milliseconds / 1000; in newDurationDayTime() local
426 BigDecimal seconds = BigDecimal.valueOf(milliseconds, 3); in newDurationDayTime() local
925 final int seconds, in newXMLGregorianCalendarTime()
963 final int seconds, in newXMLGregorianCalendarTime()
1001 final int seconds, in newXMLGregorianCalendarTime()
DDuration.java909 BigDecimal seconds = (BigDecimal) getField(DatatypeConstants.SECONDS); in toString() local
/libcore/ojluni/annotations/hiddenapi/java/time/
DDuration.java73 private Duration(long seconds, int nanos) { in Duration()
89 public static java.time.Duration ofSeconds(long seconds) { in ofSeconds()
93 public static java.time.Duration ofSeconds(long seconds, long nanoAdjustment) { in ofSeconds()
145 private static java.time.Duration create(long seconds, int nanoAdjustment) { in create()
173 public java.time.Duration withSeconds(long seconds) { in withSeconds()
262 private static java.time.Duration create(java.math.BigDecimal seconds) { in create()
358 private final long seconds; field in Duration
DOffsetDateTime.java305 public java.time.OffsetDateTime plusSeconds(long seconds) { in plusSeconds()
346 public java.time.OffsetDateTime minusSeconds(long seconds) { in minusSeconds()
/libcore/ojluni/src/main/java/javax/sql/
DCommonDataSource.java98 void setLoginTimeout(int seconds) throws SQLException; in setLoginTimeout()
/libcore/ojluni/src/main/java/javax/net/ssl/
DSSLSessionContext.java96 public void setSessionTimeout(int seconds) in setSessionTimeout()
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKDuration.java1089 …public void plus(long seconds, int nanos, long otherSeconds, int otherNanos, long expectedSeconds,… in plus()
1300 …public void plusSeconds_long(long seconds, int nanos, long amount, long expectedSeconds, int expec… in plusSeconds_long()
1376 …public void plusMillis_long(long seconds, int nanos, long amount, long expectedSeconds, int expect… in plusMillis_long()
1383 …public void plusMillis_long_oneMore(long seconds, int nanos, long amount, long expectedSeconds, in… in plusMillis_long_oneMore()
1390 …public void plusMillis_long_minusOneLess(long seconds, int nanos, long amount, long expectedSecond… in plusMillis_long_minusOneLess()
1502 …public void plusNanos_long(long seconds, int nanos, long amount, long expectedSeconds, int expecte… in plusNanos_long()
1708 …public void minus(long seconds, int nanos, long otherSeconds, int otherNanos, long expectedSeconds… in minus()
1919 …public void minusSeconds_long(long seconds, int nanos, long amount, long expectedSeconds, int expe… in minusSeconds_long()
1995 …public void minusMillis_long(long seconds, int nanos, long amount, long expectedSeconds, int expec… in minusMillis_long()
2002 …public void minusMillis_long_oneMore(long seconds, int nanos, long amount, long expectedSeconds, i… in minusMillis_long_oneMore()
[all …]
/libcore/ojluni/annotations/hiddenapi/sun/util/calendar/
DCalendarDate.java131 public sun.util.calendar.CalendarDate setSeconds(int seconds) { in setSeconds()
167 int hours, int minutes, int seconds, int millis) { in setTimeOfDay()
172 int hours, int minutes, int seconds, int millis) { in addTimeOfDay()
282 private int seconds; field in CalendarDate
DImmutableGregorianDate.java119 public sun.util.calendar.CalendarDate setSeconds(int seconds) { in setSeconds()
152 int hours, int minutes, int seconds, int millis) { in setTimeOfDay()
157 int hours, int minutes, int seconds, int millis) { in addTimeOfDay()
/libcore/ojluni/src/main/java/sun/util/calendar/
DCalendarDate.java76 private int seconds; field in CalendarDate
262 public CalendarDate setSeconds(int seconds) { in setSeconds()
319 public CalendarDate setTimeOfDay(int hours, int minutes, int seconds, int millis) { in setTimeOfDay()
327 public CalendarDate addTimeOfDay(int hours, int minutes, int seconds, int millis) { in addTimeOfDay()
DImmutableGregorianDate.java125 public CalendarDate setSeconds(int seconds) { in setSeconds()
157 public CalendarDate setTimeOfDay(int hours, int minutes, int seconds, int millis) { in setTimeOfDay()
161 public CalendarDate addTimeOfDay(int hours, int minutes, int seconds, int millis) { in addTimeOfDay()
DAbstractCalendar.java253 int seconds = time / SECOND_IN_MILLIS; in setTimeOfDay() local
/libcore/ojluni/src/main/java/java/time/chrono/
DChronoLocalDateTimeImpl.java333 ChronoLocalDateTimeImpl<D> plusSeconds(long seconds) { in plusSeconds()
342 …alDateTimeImpl<D> plusWithOverflow(D newDate, long hours, long minutes, long seconds, long nanos) { in plusWithOverflow()
/libcore/ojluni/src/main/java/java/sql/
DDriverManager.java376 public static void setLoginTimeout(int seconds) { in setLoginTimeout()
DStatement.java239 void setQueryTimeout(int seconds) throws SQLException; in setQueryTimeout()
/libcore/luni/src/main/java/libcore/io/
DIoBridge.java427 int seconds = 0; in setSocketOptionErrno() local
/libcore/ojluni/src/main/java/java/util/
DDate.java894 public void setSeconds(int seconds) { in setSeconds()

12