Class DateParameter

java.lang.Object
de.muehlencord.shared.configuration.Parameter<Date>
de.muehlencord.shared.configuration.DateParameter

public class DateParameter extends Parameter<Date>
A Date parameter
Author:
Joern Muehlencord (joern@muehlencord.de)
  • Constructor Details

    • DateParameter

      public DateParameter(String name)
      creates a new mandatory parameter object using default string converter
      Parameters:
      name - the name of the parameter
    • DateParameter

      public DateParameter(String name, StringConverter<Date> converter)
      creates a new mandatory parameter object
      Parameters:
      name - the name of the parameter
      converter - the converter object to convert the value of the parameter to string and vice versa
    • DateParameter

      public DateParameter(String name, boolean mandatory)
      creates a new parameter object using default string converter
      Parameters:
      name - the name of the parameter
      mandatory - determines if this is a mandatory parameter or not
    • DateParameter

      public DateParameter(String name, StringConverter<Date> converter, boolean mandatory)
      creates a new parameter object
      Parameters:
      name - the name of the parameter
      converter - the converter object to convert the value of the parameter to string and vice versa
      mandatory - determines if this is a mandatory parameter or not