| Package | Description |
|---|---|
| org.thiki.lark.foundation.date |
| Modifier and Type | Method and Description |
|---|---|
static DateStyle |
DateUtil.getDateStyle(String date)
获取日期字符串的日期风格。失敗返回null。
|
static DateStyle |
DateStyle.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DateStyle[] |
DateStyle.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 |
DateUtil.DateToString(Date date,
DateStyle dateStyle)
将日期转化为日期字符串。失败返回null。
|
static Date |
DateUtil.StringToDate(String date,
DateStyle dateStyle)
将日期字符串转化为日期。失败返回null。
|
static String |
DateUtil.StringToString(String date,
DateStyle newDateStyle)
将日期字符串转化为另一日期字符串。失败返回null。
|
static String |
DateUtil.StringToString(String date,
DateStyle olddDteStyle,
DateStyle newDateStyle)
将日期字符串转化为另一日期字符串。失败返回null。
|
static String |
DateUtil.StringToString(String date,
DateStyle olddDteStyle,
String newParttern)
将日期字符串转化为另一日期字符串。失败返回null。
|
static String |
DateUtil.StringToString(String date,
String olddPattern,
DateStyle newDateStyle)
将日期字符串转化为另一日期字符串。失败返回null。
|
Copyright © 2016. All rights reserved.