| 程序包 | 说明 |
|---|---|
| org.springframework.format.datetime.standard |
Integration with the JSR-310
java.time package in JDK 8. |
| 限定符和类型 | 方法和说明 |
|---|---|
static DateTimeContext |
DateTimeContextHolder.getDateTimeContext()
Return the DateTimeContext associated with the current thread, if any.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
DateTimeContextHolder.setDateTimeContext(DateTimeContext dateTimeContext)
Associate the given DateTimeContext with the current thread.
|