public class DateDataToModelConverter extends java.lang.Object implements Converter<VersionPayloadDescriptor,java.util.Date>
Date. Converts the Date to its proper Instant object and
formats the date from ZoneOffset.UTC zone.| Constructor and Description |
|---|
DateDataToModelConverter() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Date |
convert(VersionPayloadDescriptor source)
Uses the source
S object and produces an new instance of T. |
public java.util.Date convert(VersionPayloadDescriptor source)
ConverterS object and produces an new instance of T.convert in interface Converter<VersionPayloadDescriptor,java.util.Date>source - the input to be converted.T, converted from the input source.Copyright © 2018 SAP SE. All Rights Reserved.