-
- All Superinterfaces:
ScalarSettable
,ScalarTyped
,TokenSettable
,TokenTyped
- All Known Subinterfaces:
PeriodOutputField
- All Known Implementing Classes:
PeriodRegister
public interface PeriodSettable extends ScalarSettable
ATokenSettable
object containing a period value.- See Also:
TokenTypeConstant#PERIOD
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
set(int years, int months, int days)
Sets the container to a directed period value specified as years, months, and days.void
set(Period value)
Sets the container to a period value specified as ajava.time.Period
object.-
Methods inherited from interface com.pervasive.datarush.types.ScalarTyped
getType
-
Methods inherited from interface com.pervasive.datarush.tokens.TokenSettable
set, setNull, setZero
-
-
-
-
Method Detail
-
set
void set(Period value)
Sets the container to a period value specified as ajava.time.Period
object.- Parameters:
value
- period value to which to set the container
-
set
void set(int years, int months, int days)
Sets the container to a directed period value specified as years, months, and days.- Parameters:
years
- number of years in periodmonths
- number of months in perioddays
- number of days in period
-
-