Class FormValidators
- java.lang.Object
-
- org.ametys.plugins.forms.processing.FormValidators
-
public final class FormValidators extends Object
Forms constants.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetDateFormat()Get the date format pattern (understandable by java.util.SimpleDateFormat).static StringgetDatePattern()Get the date validation pattern.static StringgetDateTimeFormat()Get the date and time format pattern (understandable by java.util.SimpleDateFormat).static StringgetDateTimePattern()Get the date and time validation pattern.static StringgetFloatPattern()Get the float validation pattern.static StringgetIntegerPattern()Get the integer validation pattern.static StringgetPhonePattern()Get the phone validation pattern.static StringgetTimeFormat()Get the time format pattern (understandable by java.util.SimpleDateFormat).static StringgetTimePattern()Get the time validation pattern.
-
-
-
Method Detail
-
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.
-
-