public class TenpayUtil extends Object
| Constructor and Description |
|---|
TenpayUtil() |
| Modifier and Type | Method and Description |
|---|---|
static int |
buildRandom(int length)
取出一个指定长度大小的随机正整数.
|
static String |
getCurrTime()
获取当前时间 yyyyMMddHHmmss
|
public static String getCurrTime()
public static int buildRandom(int length)
length - int 设定所取出随机数的长度。length小于11Copyright © 2018. All rights reserved.