need help! i'm a beginner.
i want to check, if a date is valid. In Class DateTimeDatatypeValidator i
found a method parse(), but i don't know how to use it. i tried this:

public class DateTimeValidation extends DateTimeDatatypeValidator {

public void toParse(String date) {
   try{
      int[] dateTime = parse(date, new int[14]);
    }catch (SchemaDateTimeException e)
{System.out.println("falseDatatype");}
  }
}

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to