Home
last modified time | relevance | path

Searched defs:secs (Results 1 – 8 of 8) sorted by relevance

/libcore/ojluni/src/main/java/java/nio/file/attribute/
DFileTime.java146 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/
DDuration.java241 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
DInstant.java322 long secs = Math.addExact(epochSecond, Math.floorDiv(nanoAdjustment, NANOS_PER_SECOND)); in ofEpochSecond() local
338 long secs = Math.floorDiv(epochMilli, 1000); in ofEpochMilli() local
DLocalTime.java1507 long secs = epochDay * 86400 + toSecondOfDay(); in toEpochSecond() local
/libcore/ojluni/src/test/java/nio/file/attribute/
DFileTimeTest.java157 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/
DChronoLocalDateTime.java466 long secs = epochDay * 86400 + toLocalTime().toSecondOfDay(); in toEpochSecond() local
DChronoZonedDateTime.java547 long secs = epochDay * 86400 + toLocalTime().toSecondOfDay(); in toEpochSecond() local
/libcore/ojluni/annotations/hiddenapi/java/time/
DDuration.java135 long secs, in create()