public static interface ClockUtil.Clock
| Modifier and Type | Method and Description |
|---|---|
Date |
currentDate()
系统当前时间
|
long |
currentTimeMillis()
系统当前时间戳
|
long |
nanoTime()
操作系统启动到现在的纳秒数,与系统时间是完全独立的两个时间体系
|
Date currentDate()
long currentTimeMillis()
long nanoTime()
Copyright © 2018. All rights reserved.