Microsoft SDK for Java

valid

This method of the DateFormat class determines whether the specified value is one of the constants defined in this class.

Syntax

public static boolean valid(int value);

Return Value

Returns true if the value is valid; otherwise, returns false.

Parameters

value The value to check.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.