Package google.registry.util
Class DateTimeTypeAdapter
java.lang.Object
com.google.gson.TypeAdapter<org.joda.time.DateTime>
google.registry.util.StringBaseTypeAdapter<org.joda.time.DateTime>
google.registry.util.DateTimeTypeAdapter
GSON type adapter for Joda
DateTime
objects.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.joda.time.DateTime
fromString
(String stringValue) Methods inherited from class google.registry.util.StringBaseTypeAdapter
read, write
Methods inherited from class com.google.gson.TypeAdapter
fromJson, fromJson, fromJsonTree, nullSafe, toJson, toJson, toJsonTree
-
Constructor Details
-
DateTimeTypeAdapter
public DateTimeTypeAdapter()
-
-
Method Details
-
fromString
- Specified by:
fromString
in classStringBaseTypeAdapter<org.joda.time.DateTime>
- Throws:
IOException
-