public class DateValidator
extends java.lang.Object
Constructor and Description |
---|
DateValidator() |
Modifier and Type | Method and Description |
---|---|
static boolean |
checkValidBCType(java.lang.String value,
XSDatatypeManager xsdManager)
First make sure value is valid as a "xsd:gYear" and then make sure the max inclusive value is "-0001"
|
static boolean |
checkValidUnionDate(java.lang.String value)
We are given a date String.
|
static boolean |
checkValidXsdDate(java.lang.String value)
Description of the Method
|
static void |
main(java.lang.String[] args)
The main program for the DateValidator class
|
public static boolean checkValidXsdDate(java.lang.String value) throws java.lang.Exception
value
- Description of the Parameterjava.lang.Exception
- Description of the Exceptionpublic static boolean checkValidBCType(java.lang.String value, XSDatatypeManager xsdManager) throws java.lang.Exception
java.lang.Exception
public static boolean checkValidUnionDate(java.lang.String value) throws java.lang.Exception
value
- Description of the Parameterjava.lang.Exception
- Description of the Exceptionpublic static void main(java.lang.String[] args) throws java.lang.Exception
args
- The command line argumentsjava.lang.Exception
- Description of the Exception