public class ODataDateTimeAdapter
extends com.google.gson.TypeAdapter<org.joda.time.DateTime>
Constructor and Description |
---|
ODataDateTimeAdapter() |
Modifier and Type | Method and Description |
---|---|
org.joda.time.DateTime |
read(com.google.gson.stream.JsonReader in)
For internal use only by data model classes
|
void |
write(com.google.gson.stream.JsonWriter out,
org.joda.time.DateTime entityValue)
For internal use only by data model classes
|
public void write(com.google.gson.stream.JsonWriter out, org.joda.time.DateTime entityValue) throws IOException
write
in class com.google.gson.TypeAdapter<org.joda.time.DateTime>
IOException
public org.joda.time.DateTime read(com.google.gson.stream.JsonReader in) throws IOException
read
in class com.google.gson.TypeAdapter<org.joda.time.DateTime>
IOException
Copyright © 2017 SAP SE. All rights reserved.