Interface PeriodSettable

All Superinterfaces:
ScalarSettable, ScalarTyped, TokenSettable, TokenTyped
All Known Subinterfaces:
PeriodOutputField
All Known Implementing Classes:
PeriodRegister

public interface PeriodSettable extends ScalarSettable
A TokenSettable object containing a period value.
See Also:
  • TokenTypeConstant#PERIOD
  • Method Summary

    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 a java.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 Details

    • set

      void set(Period value)
      Sets the container to a period value specified as a java.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 period
      months - number of months in period
      days - number of days in period