@Internal public class DayTimeIntervalDurationConverter extends Object implements DataStructureConverter<Long,Duration>
DayTimeIntervalType of Duration external type.| Modifier and Type | Field and Description |
|---|---|
static DayTimeIntervalDurationConverter |
INSTANCE |
| Constructor and Description |
|---|
DayTimeIntervalDurationConverter() |
| Modifier and Type | Method and Description |
|---|---|
Duration |
toExternal(Long internal)
Converts to external data structure.
|
Long |
toInternal(Duration external)
Converts to internal data structure.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisIdentityConversion, open, toExternalOrNull, toInternalOrNullpublic static final DayTimeIntervalDurationConverter INSTANCE
public Long toInternal(Duration external)
DataStructureConverterNote: Parameter must not be null. Output must not be null.
toInternal in interface DataStructureConverter<Long,Duration>public Duration toExternal(Long internal)
DataStructureConverterNote: Parameter must not be null. Output must not be null.
toExternal in interface DataStructureConverter<Long,Duration>Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.