Class DateTimeValidator

java.lang.Object
com.sun.identity.sm.validators.DateTimeValidator
All Implemented Interfaces:
com.sun.identity.sm.validators.Validator

@SupportedAll public class DateTimeValidator extends Object implements com.sun.identity.sm.validators.Validator
  • Constructor Details

    • DateTimeValidator

      public DateTimeValidator()
  • Method Details

    • validate

      public boolean validate(String value, String rule)
      Determines whether the specified string is a valid date-time
      Parameters:
      value - string value to validate
      rule - not used by this method
      Returns:
      true if value is an URL
    • validate

      public boolean validate(String value)
      Determines whether the specified string is a valid date-time
      Parameters:
      value - string to test
      Returns:
      true if value is an URL