Class Validator

java.lang.Object
de.hitec.nhplus.utils.Validator

public class Validator extends Object
  • Constructor Details

    • Validator

      public Validator()
  • Method Details

    • showValidationError

      public static void showValidationError(String type)
    • isValidDate

      public static boolean isValidDate(String text)
    • isValidDate

      public static boolean isValidDate(LocalDate date)
    • isValidTime

      public static boolean isValidTime(String text)
    • isValidTimeRange

      public static boolean isValidTimeRange(String start, String end)
    • isValidDescription

      public static boolean isValidDescription(String text)
    • isValidFirstName

      public static boolean isValidFirstName(String text)
    • isValidSurName

      public static boolean isValidSurName(String text)
    • isValidCareLevel

      public static boolean isValidCareLevel(String text)
    • isValidRoomNumber

      public static boolean isValidRoomNumber(String text)