@Internal public class LocalZonedTimestampInstantConverter extends Object implements DataStructureConverter<TimestampData,Instant>
LocalZonedTimestampType
of Instant
external type.Constructor and Description |
---|
LocalZonedTimestampInstantConverter() |
Modifier and Type | Method and Description |
---|---|
Instant |
toExternal(TimestampData internal)
Converts to external data structure.
|
TimestampData |
toInternal(Instant external)
Converts to internal data structure.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isIdentityConversion, open, toExternalOrNull, toInternalOrNull
public TimestampData toInternal(Instant external)
DataStructureConverter
Note: Parameter must not be null. Output must not be null.
toInternal
in interface DataStructureConverter<TimestampData,Instant>
public Instant toExternal(TimestampData internal)
DataStructureConverter
Note: Parameter must not be null. Output must not be null.
toExternal
in interface DataStructureConverter<TimestampData,Instant>
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.