|
DLESE Tools v1.6.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.dlese.dpc.xml.schema.DateValidator
public class DateValidator
Functions for validating date-related schema data types.
| Constructor Summary | |
|---|---|
DateValidator()
|
|
| Method Summary | |
|---|---|
static boolean |
checkValidBCType(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(String value)
We are given a date String. |
static boolean |
checkValidXsdDate(String value)
Description of the Method |
static void |
main(String[] args)
The main program for the DateValidator class |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DateValidator()
| Method Detail |
|---|
public static boolean checkValidXsdDate(String value)
throws Exception
value - Description of the Parameter
Exception - Description of the Exception
public static boolean checkValidBCType(String value,
XSDatatypeManager xsdManager)
throws Exception
Exception
public static boolean checkValidUnionDate(String value)
throws Exception
value - Description of the Parameter
Exception - Description of the Exception
public static void main(String[] args)
throws Exception
args - The command line arguments
Exception - Description of the Exception
|
DLESE Tools v1.6.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||