spring-framework / org.springframework.format.datetime.joda / JodaTimeContextHolder / setJodaTimeContext

setJodaTimeContext

static fun setJodaTimeContext(@Nullable jodaTimeContext: JodaTimeContext): Unit

Associate the given JodaTimeContext with the current thread.

Parameters

jodaTimeContext - the current JodaTimeContext, or null to reset the thread-bound context