Author: vsiveton Date: Mon Mar 2 17:16:42 2009 New Revision: 749367 URL: http://svn.apache.org/viewvc?rev=749367&view=rev Log: o specified ISO-8601 recommendation about date format
Modified: maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src/main/resources/xdoc-2.0.xsd maven/doxia/doxia/trunk/doxia-sink-api/src/main/java/org/apache/maven/doxia/sink/Sink.java Modified: maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src/main/resources/xdoc-2.0.xsd URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src/main/resources/xdoc-2.0.xsd?rev=749367&r1=749366&r2=749367&view=diff ============================================================================== --- maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src/main/resources/xdoc-2.0.xsd (original) +++ maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src/main/resources/xdoc-2.0.xsd Mon Mar 2 17:16:42 2009 @@ -2844,7 +2844,8 @@ <xs:annotation> <xs:documentation source="version">2.0.0</xs:documentation> <xs:documentation source="description"> - An date element. + An date element. The date is recommended (but it is not a requirement) to be align to + the ISO-8601 standard, i.e.: YYYY-MM-DD. </xs:documentation> </xs:annotation> <xs:complexType mixed="true"/> Modified: maven/doxia/doxia/trunk/doxia-sink-api/src/main/java/org/apache/maven/doxia/sink/Sink.java URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-sink-api/src/main/java/org/apache/maven/doxia/sink/Sink.java?rev=749367&r1=749366&r2=749367&view=diff ============================================================================== --- maven/doxia/doxia/trunk/doxia-sink-api/src/main/java/org/apache/maven/doxia/sink/Sink.java (original) +++ maven/doxia/doxia/trunk/doxia-sink-api/src/main/java/org/apache/maven/doxia/sink/Sink.java Mon Mar 2 17:16:42 2009 @@ -250,6 +250,18 @@ /** * Starts the date element. + * <br/> + * The date is recommended (but it is not a requirement) to be align to the + * <a href="http://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=26780">ISO-8601</a> standard, i.e.: + * <pre> + * YYYY-MM-DD + * </pre> + * where + * <ul> + * <li>YYYY is the year in the Gregorian calendar</li> + * <li>MM is the month of the year between 01 (January) and 12 (December)</li> + * <li>and DD is the day of the month between 01 and 31</li> + * </ul> * * @see #date(SinkEventAttributes) */