Class ZonedDateTimeCalendarConverter

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

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

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

  • Constructor Details

    • ZonedDateTimeCalendarConverter

      public ZonedDateTimeCalendarConverter()
  • Method Details