java.lang.Object
net.guerlab.spring.commons.sequence.SystemClock
public class SystemClock
extends java.lang.Object
系统时钟
- 作者:
- guer
-
方法概要
| 修饰符和类型 |
方法 |
说明 |
static long |
now() |
获取当前时钟
|
static java.lang.String |
nowDate() |
获取当前日期字符串
|
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
方法详细资料
-
public static long now()
获取当前时钟
- 返回:
- 当前时钟
-
public static java.lang.String nowDate()
获取当前日期字符串
- 返回:
- 当前日期字符串