question: public static boolean isValidDate ( String value ) { String regex = "-?\\d\\d\\d\\d-\\d\\d-\\d\\d(Z|(\\+|-)\\d\\d:\\d\\d)?" ; if ( value . matches ( regex ) ) { return isValidCalendarValue ( value ) ; } else { return false ; } }
target:  Determines if the supplied value is a valid xsd:date string.