Searched defs:secs (Results 1 – 11 of 11) sorted by relevance
/libcore/ojluni/src/main/java/java/nio/file/attribute/ |
D | FileTime.java | 146 long secs = unit.convert(instant.getEpochSecond(), TimeUnit.SECONDS); in to() local 173 long secs = instant.getEpochSecond(); in toMillis() local 232 long secs = 0L; in toInstant() local 343 long secs = toInstant().getEpochSecond(); in compareTo() local 413 long secs = 0L; in toString() local
|
/libcore/ojluni/src/main/java/java/time/ |
D | Duration.java | 242 long secs = Math.addExact(seconds, Math.floorDiv(nanoAdjustment, NANOS_PER_SECOND)); in ofSeconds() local 257 long secs = millis / 1000; in ofMillis() local 276 long secs = nanos / NANOS_PER_SECOND; in ofNanos() local 438 … create(boolean negate, long daysAsSecs, long hoursAsSecs, long minsAsSecs, long secs, int nanos) { in create() 1442 int secs = (int) (seconds % SECONDS_PER_MINUTE); in toString() local
|
D | Instant.java | 323 long secs = Math.addExact(epochSecond, Math.floorDiv(nanoAdjustment, NANOS_PER_SECOND)); in ofEpochSecond() local 339 long secs = Math.floorDiv(epochMilli, 1000); in ofEpochMilli() local
|
D | OffsetTime.java | 1247 long secs = epochDay * 86400 + time.toSecondOfDay(); in toEpochSecond() local
|
D | LocalTime.java | 1507 long secs = epochDay * 86400 + toSecondOfDay(); in toEpochSecond() local
|
D | LocalDate.java | 1986 long secs = toEpochDay() * SECONDS_PER_DAY + time.toSecondOfDay(); in toEpochSecond() local
|
/libcore/ojluni/src/test/java/nio/file/attribute/ |
D | FileTimeTest.java | 157 long secs = v % MAX_SECOND; in main() local 296 long secs = SECONDS.convert(value, unit); in eqTime() local
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | ChronoLocalDateTime.java | 473 long secs = epochDay * 86400 + toLocalTime().toSecondOfDay(); in toEpochSecond() local
|
D | ChronoZonedDateTime.java | 554 long secs = epochDay * 86400 + toLocalTime().toSecondOfDay(); in toEpochSecond() local
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | TimeUnit.java | 218 long secs = duration.getSeconds(); in convert() local
|
/libcore/ojluni/annotations/hiddenapi/java/time/ |
D | Duration.java | 135 long secs, in create()
|