java.lang.Object | |
↳ | org.springframework.format.datetime.joda.JodaTimeContextHolder |
A holder for a thread-local user JodaTimeContext
.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Obtain a DateTimeFormatter with user-specific settings applied to the given base Formatter.
| |||||||||||
Return the JodaTimeContext associated with the current thread, if any.
| |||||||||||
Reset the JodaTimeContext for the current thread.
| |||||||||||
Associate the given JodaTimeContext with the current thread.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Obtain a DateTimeFormatter with user-specific settings applied to the given base Formatter.
formatter | the base formatter that establishes default formatting rules (generally user independent) |
---|---|
locale | the current user locale (may be null if not known) |
Return the JodaTimeContext associated with the current thread, if any.
null
if none
Reset the JodaTimeContext for the current thread.
Associate the given JodaTimeContext with the current thread.
jodaTimeContext | the current JodaTimeContext,
or null to reset the thread-bound context
|
---|