Home
last modified time | relevance | path

Searched refs:nanosUntil (Results 1 – 3 of 3) sorted by relevance

/libcore/ojluni/src/main/java/java/time/
DOffsetTime.java1174 long nanosUntil = end.toEpochNano() - toEpochNano(); // no overflow in until() local
1176 case NANOS: return nanosUntil; in until()
1177 case MICROS: return nanosUntil / 1000; in until()
1178 case MILLIS: return nanosUntil / 1000_000; in until()
1179 case SECONDS: return nanosUntil / NANOS_PER_SECOND; in until()
1180 case MINUTES: return nanosUntil / NANOS_PER_MINUTE; in until()
1181 case HOURS: return nanosUntil / NANOS_PER_HOUR; in until()
1182 case HALF_DAYS: return nanosUntil / (12 * NANOS_PER_HOUR); in until()
DLocalTime.java1381 long nanosUntil = end.toNanoOfDay() - toNanoOfDay(); // no overflow in until() local
1383 case NANOS: return nanosUntil; in until()
1384 case MICROS: return nanosUntil / 1000; in until()
1385 case MILLIS: return nanosUntil / 1000_000; in until()
1386 case SECONDS: return nanosUntil / NANOS_PER_SECOND; in until()
1387 case MINUTES: return nanosUntil / NANOS_PER_MINUTE; in until()
1388 case HOURS: return nanosUntil / NANOS_PER_HOUR; in until()
1389 case HALF_DAYS: return nanosUntil / (12 * NANOS_PER_HOUR); in until()
DInstant.java1142 case NANOS: return nanosUntil(end); in until()
1143 case MICROS: return nanosUntil(end) / 1000; in until()
1156 private long nanosUntil(Instant end) { in nanosUntil() method in Instant