david: doc/kolab-formats commonfields.sgml,1.18,1.19

cvs at intevation.de cvs at intevation.de
Mon Oct 11 15:43:39 CEST 2004


Author: david

Update of /kolabrepository/doc/kolab-formats
In directory doto:/tmp/cvs-serv5534

Modified Files:
	commonfields.sgml 
Log Message:
Added "yearly weekday" recurrence as discussed with Joon


Index: commonfields.sgml
===================================================================
RCS file: /kolabrepository/doc/kolab-formats/commonfields.sgml,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- commonfields.sgml	11 Oct 2004 12:08:14 -0000	1.18
+++ commonfields.sgml	11 Oct 2004 13:43:37 -0000	1.19
@@ -111,9 +111,14 @@
 </para>
 
 <para>yearly: The recurrence tag has a second attribute type, which
-can be either "monthday" or "yearday". In both cases, interval
-specifies "every X years". If it's monthday, tags <daynumber> and
-<month> apply. For yearday, <daynumber> is needed.</para>
+can be either "monthday", "yearday" or "weekday". In both cases, interval
+specifies "every X years".
+"monthday" is e.g. "23rd of March", and uses the tags <daynumber> and
+ <month>.
+"yearday" is e.g. "155th day in the year", as specified by <daynumber>.
+ This subtype isn't supported by Outlook.
+"weekday" is e.g. "2nd Friday of September", and uses the tags <daynumber>,
+<day> and <month>.</para>
 
 <para>The range must also be present. This can be "none", which means
 a never ending recurrence. Or "number", which specifies the number of
@@ -211,6 +216,19 @@
         <recurrence cycle="yearly" type="yearday">
           <interval>2</interval>
           <daynumber>125</daynumber>
+          <range type="none"/>
+        </recurrence>
+]]></programlisting></para>
+
+<para>Yearly infinite recurrence with no exclusions. Happens every
+third year on the 2nd Friday of September:</para>
+
+<para><programlisting><![CDATA[
+        <recurrence cycle="yearly" type="weekday">
+          <interval>3</interval>
+          <daynumber>2</daynumber>
+          <day>friday</day>
+          <month>september</month>
           <range type="none"/>
         </recurrence>
 ]]></programlisting></para>





More information about the commits mailing list