Interface PeriodSettable

    • 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 a java.time.Period object.
    • Method Detail

      • 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