public final class CurrentSerializationTemporalType extends Object
TemporalType which has to be used for java.util.Date values
JSON serialization using a ThreadLocal.| Modifier and Type | Method and Description |
|---|---|
static com.holonplatform.core.temporal.TemporalType |
getCurrentTemporalType()
Gets the current
TemporalType to use for java.util.Date values JSON serialization. |
static void |
removeCurrentTemporalType()
Removes the current
TemporalType to use for java.util.Date values JSON serialization. |
static void |
setCurrentTemporalType(com.holonplatform.core.temporal.TemporalType temporalType)
Sets the current
TemporalType to use for java.util.Date values JSON serialization. |
public static com.holonplatform.core.temporal.TemporalType getCurrentTemporalType()
TemporalType to use for java.util.Date values JSON serialization.TemporalTypepublic static void setCurrentTemporalType(com.holonplatform.core.temporal.TemporalType temporalType)
TemporalType to use for java.util.Date values JSON serialization.temporalType - The TemporalType to setpublic static void removeCurrentTemporalType()
TemporalType to use for java.util.Date values JSON serialization.Copyright © 2019 The Holon Platform. All rights reserved.