Class DateAfterCreation


  • public final class DateAfterCreation
    extends Object
    Object to define the number of days after creation.
    • Constructor Detail

      • DateAfterCreation

        public DateAfterCreation()
    • Method Detail

      • daysAfterCreationGreaterThan

        public float daysAfterCreationGreaterThan()
        Get the daysAfterCreationGreaterThan property: Value indicating the age in days after creation.
        Returns:
        the daysAfterCreationGreaterThan value.
      • withDaysAfterCreationGreaterThan

        public DateAfterCreation withDaysAfterCreationGreaterThan​(float daysAfterCreationGreaterThan)
        Set the daysAfterCreationGreaterThan property: Value indicating the age in days after creation.
        Parameters:
        daysAfterCreationGreaterThan - the daysAfterCreationGreaterThan value to set.
        Returns:
        the DateAfterCreation object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.