public class DateUtils extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
TIME_MILLIS |
| 构造器和说明 |
|---|
DateUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static long |
betweenMillis(org.joda.time.DateTime startTime,
org.joda.time.DateTime endTime)
获取两个时间差的毫秒数
|
static long |
betweenMillis(String startTime,
String endTime) |
static String |
now(String format)
获取某个格式日期
|
Copyright © 2023 Pivotal Software, Inc.. All rights reserved.