-
- All Superinterfaces:
ScalarSettable,ScalarTyped,TokenSettable,TokenTyped
- All Known Subinterfaces:
PeriodOutputField
- All Known Implementing Classes:
PeriodRegister
public interface PeriodSettable extends ScalarSettable
ATokenSettableobject containing a period value.- See Also:
TokenTypeConstant#PERIOD
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidset(int years, int months, int days)Sets the container to a directed period value specified as years, months, and days.voidset(Period value)Sets the container to a period value specified as ajava.time.Periodobject.-
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.Periodobject.- 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
-
-