base/common/src/main/com/thesett/common/validate/Validation.java
public static boolean isTime(String s)
    {
        // Build a time formatter using the format specified by timeFormat
        DateFormat dateFormatter = new SimpleDateFormat(timeFormat);

        try
        {
            dateFormatter.parse(s);

            return true;
        }
        catch (ParseException e)
        {
            // Exception noted so can be ignored.
            e = null;

            return false;
        }
    }
public static boolean isTime(String s)
    {
        // Build a time formatter using the format specified by timeFormat
        DateFormat dateFormatter = new SimpleDateFormat(timeFormat);

        try
        {
            dateFormatter.parse(s);

            return true;
        }
        catch (ParseException e)
        {
            // Exception noted so can be ignored.
            e = null;

            return false;
        }
    }
Checks that a string is a time in the format specified by timeFormat.

@param  s The string to check for being a time.

@return True if the string is a time.