- All Superinterfaces:
ScalarSettable,ScalarTyped,TokenSettable,TokenTyped
- All Known Subinterfaces:
DurationOutputField
- All Known Implementing Classes:
DurationRegister
A
TokenSettable object containing a duration value.- See Also:
-
TokenTypeConstant#DURATION
-
Method Summary
Methods inherited from interface com.pervasive.datarush.types.ScalarTyped
getTypeMethods inherited from interface com.pervasive.datarush.tokens.TokenSettable
set, setNull, setZero
-
Method Details
-
set
Sets the container to a duration value specified as ajava.time.Durationobject.- Parameters:
value- duration value to which to set the container
-
set
void set(long seconds, int nanos) Sets the container to a directed duration value specified as seconds and nanoseconds.- Parameters:
seconds- number of seconds in durationnanos- fractional nanosecond portion of duration
-