mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8071919: Add java.time.Clock.tickMillis(ZoneId zone) method
Reviewed-by: dfuchs, rriggs, scolebourne
This commit is contained in:
parent
b6d29b4f0b
commit
31f7efd560
3 changed files with 45 additions and 6 deletions
|
@ -189,10 +189,14 @@ public final class LocalTime
|
|||
* Microseconds per day.
|
||||
*/
|
||||
static final long MICROS_PER_DAY = SECONDS_PER_DAY * 1000_000L;
|
||||
/**
|
||||
* Nanos per millisecond.
|
||||
*/
|
||||
static final long NANOS_PER_MILLI = 1000_000L;
|
||||
/**
|
||||
* Nanos per second.
|
||||
*/
|
||||
static final long NANOS_PER_SECOND = 1000_000_000L;
|
||||
static final long NANOS_PER_SECOND = 1000_000_000L;
|
||||
/**
|
||||
* Nanos per minute.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue