Package com.zendesk.sdk.network.impl
Class ZendeskDateTypeAdapter
- java.lang.Object
-
- <any>
-
- com.zendesk.sdk.network.impl.ZendeskDateTypeAdapter
-
public class ZendeskDateTypeAdapter extends <any>
A somewhat UTC-or-GTFO type adapter. When reading from JSON, it will attempt to parse in UTC format. If the JSON is not in the correct format, it will return null. When writing to JSON, it will write to UTC format. This implementation was adapted from Jackson's IOS8601Utils class. Created by Zendesk on 08/05/2017.
-
-
Constructor Summary
Constructors Constructor and Description ZendeskDateTypeAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.util.Date
read(JsonReader in)
void
write(JsonWriter out, java.util.Date value)
-