public class LocalDateTimeAdapter extends AbstractCalendarAdapter<LocalDateTime>
LocalDateTime
from and to Json.Constructor and Description |
---|
LocalDateTimeAdapter() |
Modifier and Type | Method and Description |
---|---|
protected AbstractTypeConverter<LocalDateTime,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<LocalDateTime,Calendar> getConverterInstance()
AbstractCalendarAdapter
Calendar
.getConverterInstance
in class AbstractCalendarAdapter<LocalDateTime>
@Nonnull protected org.apache.olingo.odata2.core.edm.AbstractSimpleType getODataTypeInstance()
AbstractCalendarAdapter
getODataTypeInstance
in class AbstractCalendarAdapter<LocalDateTime>
Copyright © 2019 SAP SE. All rights reserved.