| Package | Description |
|---|---|
| org.aoju.bus.core.date | |
| org.aoju.bus.core.date.format | |
| org.aoju.bus.core.lang | |
| org.aoju.bus.core.utils |
| Modifier and Type | Method and Description |
|---|---|
String |
DateTime.between(Date date,
Fields.Unit unit,
Fields.Level formatLevel)
计算相差时长
|
String |
Between.toString(Fields.Level level)
格式化输出时间差
|
| Modifier and Type | Method and Description |
|---|---|
Fields.Level |
DatePeriod.getLevel()
获得 格式化级别
|
| Modifier and Type | Method and Description |
|---|---|
void |
DatePeriod.setLevel(Fields.Level level)
设置格式化级别
|
| Constructor and Description |
|---|
DatePeriod(long betweenMs,
Fields.Level level)
构造
|
DatePeriod(long betweenMs,
Fields.Level level,
int levelMaxCount)
构造
|
| Modifier and Type | Method and Description |
|---|---|
static Fields.Level |
Fields.Level.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Fields.Level[] |
Fields.Level.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
DateUtils.formatBetween(Date beginDate,
Date endDate,
Fields.Level level)
格式化日期间隔输出
|
static String |
DateUtils.formatBetween(long betweenMs,
Fields.Level level)
格式化日期间隔输出
|
Copyright © 2020. All rights reserved.