This method of the DateFormat class determines whether the specified value is one of the constants defined in this class.
public static boolean valid(int value);
Returns true if the value is valid; otherwise, returns false.
value | The value to check. |