public class JavaTimeAdapter extends Object implements TypeAdapter<Object>
Constructor and Description |
---|
JavaTimeAdapter() |
Modifier and Type | Method and Description |
---|---|
Object |
adapt(Object value,
Class<?> actualType,
Type genericType,
Annotation[] annotations) |
boolean |
isJavaTimeObject(Class<?> actualType) |
public Object adapt(Object value, Class<?> actualType, Type genericType, Annotation[] annotations)
adapt
in interface TypeAdapter<Object>
public boolean isJavaTimeObject(Class<?> actualType)