Home
last modified time | relevance | path

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

/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.java155 private final long seconds; field in Duration
217 public static Duration ofSeconds(long seconds) { in ofSeconds()
240 public static Duration ofSeconds(long seconds, long nanoAdjustment) { in ofSeconds()
398 long seconds = parseNumber(text, secondMatch, 1, "seconds"); in parse() local
438 …long seconds = Math.addExact(daysAsSecs, Math.addExact(hoursAsSecs, Math.addExact(minsAsSecs, secs… in create() local
494 private static Duration create(long seconds, int nanoAdjustment) { in create()
507 private Duration(long seconds, int nanos) { in Duration()
640 public Duration withSeconds(long seconds) { in withSeconds()
1016 private static Duration create(BigDecimal seconds) { in create()
1514 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
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()
DLocalTime.java398 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()
DRowSet.java407 void setQueryTimeout(int seconds) throws SQLException; in setQueryTimeout()
/libcore/ojluni/src/main/java/javax/net/ssl/
DSSLSessionContext.java96 public void setSessionTimeout(int seconds) in setSessionTimeout()
/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.java496 int seconds = 0; in setSocketOptionErrno() local
/libcore/ojluni/src/main/java/java/util/
DDate.java894 public void setSeconds(int seconds) { in setSeconds()
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKLocalTime.java1702 public void test_plusSeconds_fromZero(int seconds, int hour, int min, int sec) { in test_plusSeconds_fromZero()