Package com.acanx.util
Class BigIntegerUtil
java.lang.Object
com.acanx.util.BigIntegerUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BigInteger
获取当前的23位数字类型的日期 格式:yyyyMMddHHmmssSSSSSSSSSstatic BigInteger
获取当前的20位数字类型的日期 格式:yyyyMMddHHmmssSSSSSS
-
Constructor Details
-
BigIntegerUtil
public BigIntegerUtil()
-
-
Method Details
-
getCurrentDateTimeUs
获取当前的20位数字类型的日期 格式:yyyyMMddHHmmssSSSSSS- Returns:
- BigInteger 微秒级的日期时间
-
getCurrentDateTimeNs
获取当前的23位数字类型的日期 格式:yyyyMMddHHmmssSSSSSSSSS- Returns:
- BigInteger 纳秒级的日期时间
-