Class FormValidators

java.lang.Object
org.ametys.plugins.forms.processing.FormValidators

public final class FormValidators extends Object
Forms constants.
  • Method Details

    • getIntegerPattern

      public static final String getIntegerPattern()
      Get the integer validation pattern.
      Returns:
      the integer validation pattern.
    • getFloatPattern

      public static final String getFloatPattern()
      Get the float validation pattern.
      Returns:
      the float validation pattern.
    • getDatePattern

      public static final String getDatePattern()
      Get the date validation pattern.
      Returns:
      the date validation pattern.
    • getTimePattern

      public static final String getTimePattern()
      Get the time validation pattern.
      Returns:
      the time validation pattern.
    • getDateTimePattern

      public static final String getDateTimePattern()
      Get the date and time validation pattern.
      Returns:
      the date and time validation pattern.
    • getPhonePattern

      public static final String getPhonePattern()
      Get the phone validation pattern.
      Returns:
      the phone validation pattern.
    • getDateFormat

      public static final String getDateFormat()
      Get the date format pattern (understandable by java.util.SimpleDateFormat).
      Returns:
      the date format pattern.
    • getTimeFormat

      public static final String getTimeFormat()
      Get the time format pattern (understandable by java.util.SimpleDateFormat).
      Returns:
      the time format pattern.
    • getDateTimeFormat

      public static final String getDateTimeFormat()
      Get the date and time format pattern (understandable by java.util.SimpleDateFormat).
      Returns:
      the date and time format pattern.