Searched defs:secs (Results 1 – 8 of 8) 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 | 241 long secs = Math.addExact(seconds, Math.floorDiv(nanoAdjustment, NANOS_PER_SECOND)); in ofSeconds() local 256 long secs = millis / 1000; in ofMillis() local 275 long secs = nanos / NANOS_PER_SECOND; in ofNanos() local 437 … create(boolean negate, long daysAsSecs, long hoursAsSecs, long minsAsSecs, long secs, int nanos) { in create() 1444 int secs = (int) (seconds % SECONDS_PER_MINUTE); in toString() local
|
D | Instant.java | 322 long secs = Math.addExact(epochSecond, Math.floorDiv(nanoAdjustment, NANOS_PER_SECOND)); in ofEpochSecond() local 338 long secs = Math.floorDiv(epochMilli, 1000); in ofEpochMilli() local
|
D | LocalTime.java | 1507 long secs = epochDay * 86400 + 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 | 466 long secs = epochDay * 86400 + toLocalTime().toSecondOfDay(); in toEpochSecond() local
|
D | ChronoZonedDateTime.java | 547 long secs = epochDay * 86400 + toLocalTime().toSecondOfDay(); in toEpochSecond() local
|
/libcore/ojluni/annotations/hiddenapi/java/time/ |
D | Duration.java | 135 long secs, in create()
|