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 String
getDateFormat()
Get the date format pattern (understandable by java.util.SimpleDateFormat).static String
getDatePattern()
Get the date validation pattern.static String
getDateTimeFormat()
Get the date and time format pattern (understandable by java.util.SimpleDateFormat).static String
getDateTimePattern()
Get the date and time validation pattern.static String
getFloatPattern()
Get the float validation pattern.static String
getIntegerPattern()
Get the integer validation pattern.static String
getPhonePattern()
Get the phone validation pattern.static String
getTimeFormat()
Get the time format pattern (understandable by java.util.SimpleDateFormat).static String
getTimePattern()
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.
-
-