Class FormValidators
java.lang.Object
org.ametys.plugins.forms.processing.FormValidators
Forms constants.
-
Method Summary
Modifier and TypeMethodDescriptionstatic final String
Get the date format pattern (understandable by java.util.SimpleDateFormat).static final String
Get the date validation pattern.static final String
Get the date and time format pattern (understandable by java.util.SimpleDateFormat).static final String
Get the date and time validation pattern.static final String
Get the float validation pattern.static final String
Get the integer validation pattern.static final String
Get the phone validation pattern.static final String
Get the time format pattern (understandable by java.util.SimpleDateFormat).static final String
Get the time validation pattern.
-
Method Details
-
getIntegerPattern
Get the integer validation pattern.- Returns:
- the integer validation pattern.
-
getFloatPattern
Get the float validation pattern.- Returns:
- the float validation pattern.
-
getDatePattern
Get the date validation pattern.- Returns:
- the date validation pattern.
-
getTimePattern
Get the time validation pattern.- Returns:
- the time validation pattern.
-
getDateTimePattern
Get the date and time validation pattern.- Returns:
- the date and time validation pattern.
-
getPhonePattern
Get the phone validation pattern.- Returns:
- the phone validation pattern.
-
getDateFormat
Get the date format pattern (understandable by java.util.SimpleDateFormat).- Returns:
- the date format pattern.
-
getTimeFormat
Get the time format pattern (understandable by java.util.SimpleDateFormat).- Returns:
- the time format pattern.
-
getDateTimeFormat
Get the date and time format pattern (understandable by java.util.SimpleDateFormat).- Returns:
- the date and time format pattern.
-