Searched refs:nanosUntil (Results 1 – 3 of 3) sorted by relevance
1174 long nanosUntil = end.toEpochNano() - toEpochNano(); // no overflow in until() local1176 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()
1404 long nanosUntil = end.toNanoOfDay() - toNanoOfDay(); // no overflow in until() local1406 case NANOS: return nanosUntil; in until()1407 case MICROS: return nanosUntil / 1000; in until()1408 case MILLIS: return nanosUntil / 1000_000; in until()1409 case SECONDS: return nanosUntil / NANOS_PER_SECOND; in until()1410 case MINUTES: return nanosUntil / NANOS_PER_MINUTE; in until()1411 case HOURS: return nanosUntil / NANOS_PER_HOUR; in until()1412 case HALF_DAYS: return nanosUntil / (12 * NANOS_PER_HOUR); in until()
1142 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