MonthDayDV.java revision 286
0N/A * reserved comment block 0N/A * DO NOT REMOVE OR ALTER! 0N/A * Copyright 1999-2002,2004,2005 The Apache Software Foundation. 0N/A * Licensed under the Apache License, Version 2.0 (the "License"); 0N/A * you may not use this file except in compliance with the License. 0N/A * You may obtain a copy of the License at 0N/A * Unless required by applicable law or agreed to in writing, software 0N/A * distributed under the License is distributed on an "AS IS" BASIS, 0N/A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 0N/A * See the License for the specific language governing permissions and 2362N/A * limitations under the License. 0N/A * Validator for <gMonthDay> datatype (W3C Schema Datatypes) 4880N/A * @author Gopal Sharma, SUN Microsystem Inc. 4880N/A //size without time zone: --MM-DD 0N/A * Convert a string to a compiled form 0N/A * @param content The lexical representation of gMonthDay 0N/A * @return a valid and normalized gMonthDay object 0N/A * Parses, validates and computes normalized version of gMonthDay object 0N/A * @param str The lexical representation of gMonthDay object --MM-DD 4880N/A * with possible time zone Z or (-),(+)hh:mm 4880N/A * @return normalized date representation 4880N/A * @exception SchemaDateTimeException Invalid lexical representation 0N/A //validate and normalize 0N/A //save unnormalized values * Converts gMonthDay object representation to String * @param date gmonthDay object * @return lexical representation of month: --MM-DD with an optional time zone sign