TimeΒΆ

Checks if a field value is a valid time. Format must be HH:MM:SS or HH:MM e.g 13:07:19 or 13:07.

Example Code:

validators {
  DefaultValidator {
    model = DefaultValidator
    config {
      fields {
        start_time.errorChecks {
          time {
            model = Time
          }
        }
      }
    }
  }
}