validation/rules library

Classes

BooleanRule
BOOLEAN RULE
CapitalizedRule
CAPITALIZED RULE
ContainsRule
CONTAINS RULE
DateAgeIsOlderRule
DATE AGE IS OLDER RULE
DateAgeIsYoungerRule
DATE AGE IS YOUNGER RULE
DateInFutureRule
DATE IN FUTURE RULE
DateInPastRule
DATE IN PAST RULE
DateRule
REGEX RULE
EmailRule
EMAIL RULE
IsFalseRule
IS_FALSE RULE
IsTrueRule
IS_TRUE RULE
IsTypeRule
IS_TYPE RULE
LowerCaseRule
LOWERCASE RULE
MaxRule
MAX RULE
MinRule
MIN RULE
NotEmptyRule
NOT EMPTY RULE
NumericRule
NUMERIC RULE
PasswordV1Rule
PasswordV1 RULE This rule is used to validate a password with the following requirements:
PasswordV2Rule
PasswordV2 RULE This rule is used to validate a password with the following requirements:
PhoneNumberUkRule
UK NUMBER RULE
PhoneNumberUsRule
US NUMBER RULE
PostCodeUkRule
POSTCODE UK RULE
RegexRule
REGEX RULE
StringRule
STRING RULE
UpperCaseRule
LOWERCASE RULE
URLRule
URL RULE
ValidationRule
BASE ValidationRule class Define the required details in the constructor to extend and build your own validation rule.
ZipCodeUsRule
ZIPCODE US RULE