Class DateRangeInputBuilder


public class DateRangeInputBuilder extends AbstractInputBuilder<DateRangeInputBuilder,String[]>
Builder class for input type DateRangeUserEntry InputType.DATERANGEUSERENTRY.
  • Constructor Details

  • Method Details

    • setFrom

      public DateRangeInputBuilder setFrom(String from)
      Sets the from value of the date range input field.

      Example:

      
       api.inputBuilderFactory()
            .createDateRangeUserEntry("dateRange")
            .setFrom("2019-10-01")
            .setTo("2019-11-01")
            .buildContextParameter()
       
      Parameters:
      from - Date from, as a String
      Returns:
      self
    • setTo

      public DateRangeInputBuilder setTo(String to)
      Set to value of the date range input field.

      Example:

      
       api.inputBuilderFactory()
            .createDateRangeUserEntry("dateRange")
            .setFrom("2019-10-01")
            .setTo("2019-11-01")
            .buildContextParameter()
       
      Parameters:
      to - Date to, as a String
      Returns:
      self
    • _getInput

      protected Object _getInput()
      Specified by:
      _getInput in class AbstractInputBuilder<DateRangeInputBuilder,String[]>