Package com.influxdb.client
Class JSON.DateTypeAdapter
java.lang.Object
com.google.gson.TypeAdapter<Date>
com.influxdb.client.JSON.DateTypeAdapter
- Enclosing class:
JSON
Gson TypeAdapter for java.util.Date type
If the dateFormat is null, ISO8601Utils will be used.
-
Constructor Summary
-
Method Summary
Methods inherited from class com.google.gson.TypeAdapter
fromJson, fromJson, fromJsonTree, nullSafe, toJson, toJson, toJsonTree
-
Constructor Details
-
DateTypeAdapter
public DateTypeAdapter()
-
-
Method Details
-
setFormat
-
write
- Specified by:
write
in classcom.google.gson.TypeAdapter<Date>
- Throws:
IOException
-
read
- Specified by:
read
in classcom.google.gson.TypeAdapter<Date>
- Throws:
IOException
-