| 程序包 | 说明 |
|---|---|
| org.springframework.format.annotation |
Annotations for declaratively configuring field formatting rules.
|
| org.springframework.format.datetime |
Formatters for
java.util.Date properties. |
| org.springframework.format.datetime.joda |
Integration with Joda-Time for formatting Joda date and time types as well as standard JDK Date types.
|
| org.springframework.format.datetime.standard |
Integration with the JSR-310
java.time package in JDK 8. |
| 限定符和类型 | 方法和说明 |
|---|---|
static DateTimeFormat.ISO |
DateTimeFormat.ISO.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static DateTimeFormat.ISO[] |
DateTimeFormat.ISO.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
DateFormatter.setIso(DateTimeFormat.ISO iso)
Set the ISO format used for this date.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
DateTimeFormatterFactory.setIso(DateTimeFormat.ISO iso)
Set the ISO format used to format date values.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
DateTimeFormatterFactory.setIso(DateTimeFormat.ISO iso)
Set the ISO format used to format date values.
|