Class LocalDateTimeCalendarConverter

java.lang.Object
com.sap.cloud.sdk.typeconverter.AbstractTypeConverter<LocalDateTime,Calendar>
com.sap.cloud.sdk.s4hana.datamodel.odata.adapter.LocalDateTimeCalendarConverter
All Implemented Interfaces:
TypeConverter<LocalDateTime,Calendar>

public class LocalDateTimeCalendarConverter extends AbstractTypeConverter<LocalDateTime,Calendar>
Converts between the deprecated Calendar type and the new LocalDateTime.

In combination with the ODataField annotation this can be used to expose fields of OData value which would be exposed as Calendar as LocalDateTime.

  • Constructor Details

    • LocalDateTimeCalendarConverter

      public LocalDateTimeCalendarConverter()
  • Method Details