public class ZonedDateTimeAdapter extends AbstractCalendarAdapter<ZonedDateTime>
ZonedDateTime
from and to Json.Constructor and Description |
---|
ZonedDateTimeAdapter() |
Modifier and Type | Method and Description |
---|---|
protected AbstractTypeConverter<ZonedDateTime,Calendar> |
getConverterInstance()
Getter for an instance of the common conversion logic from and to
Calendar . |
protected org.apache.olingo.odata2.core.edm.AbstractSimpleType |
getODataTypeInstance()
An instance of the EDM type to be used to parse between String and Calendar.
|
read, write
@Nonnull protected AbstractTypeConverter<ZonedDateTime,Calendar> getConverterInstance()
AbstractCalendarAdapter
Calendar
.getConverterInstance
in class AbstractCalendarAdapter<ZonedDateTime>
@Nonnull protected org.apache.olingo.odata2.core.edm.AbstractSimpleType getODataTypeInstance()
AbstractCalendarAdapter
getODataTypeInstance
in class AbstractCalendarAdapter<ZonedDateTime>
Copyright © 2018 SAP SE. All rights reserved.