public interface DurationSettable extends ScalarSettable
TokenSettable
object containing a duration value.TokenTypeConstant#DURATION
Modifier and Type | Method and Description |
---|---|
void |
set(Duration value)
Sets the container to a duration value specified as a
java.time.Duration object. |
void |
set(long seconds,
int nanos)
Sets the container to a directed duration value specified as
seconds and nanoseconds.
|
set, setNull, setZero
getType
void set(Duration value)
java.time.Duration
object.value
- duration value to which to set the containervoid set(long seconds, int nanos)
seconds
- number of seconds in durationnanos
- fractional nanosecond portion of durationCopyright © 2024 Actian Corporation. All rights reserved.