home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 3 / Info_Mac_1994-01.iso / Applications / EnglishCalendar / cards.xml < prev    next >
Text File  |  1994-01-11  |  70KB  |  1,191 lines

  1. card_4088.xml
  2. <?xml version="1.0" encoding="utf-8" ?>
  3. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  4. <card>
  5.     <id>4088</id>
  6.     <filler1>0</filler1>
  7.     <bitmap>BMAP_2654.pbm</bitmap>
  8.     <cantDelete> <false /> </cantDelete>
  9.     <showPict> <true /> </showPict>
  10.     <dontSearch> <false /> </dontSearch>
  11.     <owner>6889</owner>
  12.     <link rel="stylesheet" type="text/css" href="stylesheet_3810.css" />
  13.     <part>
  14.         <id>1</id>
  15.         <type>field</type>
  16.         <visible> <true /> </visible>
  17.         <dontWrap> <false /> </dontWrap>
  18.         <dontSearch> <false /> </dontSearch>
  19.         <sharedText> <false /> </sharedText>
  20.         <fixedLineHeight> <true /> </fixedLineHeight>
  21.         <autoTab> <false /> </autoTab>
  22.         <lockText> <false /> </lockText>
  23.         <rect>
  24.             <left>63</left>
  25.             <top>50</top>
  26.             <right>113</right>
  27.             <bottom>71</bottom>
  28.         </rect>
  29.         <style>rectangle</style>
  30.         <autoSelect> <false /> </autoSelect>
  31.         <showLines> <false /> </showLines>
  32.         <wideMargins> <false /> </wideMargins>
  33.         <multipleLines> <false /> </multipleLines>
  34.         <reservedFamily> 0 </reservedFamily>
  35.         <titleWidth>0</titleWidth>
  36.         <icon>0</icon>
  37.         <textAlign>left</textAlign>
  38.         <font>Palatino</font>
  39.         <textSize>18</textSize>
  40.         <textStyle>plain</textStyle>
  41.         <textHeight>24</textHeight>
  42.         <name>year</name>
  43.         <script>on openfieldselect text of card field "year"end openfield</script>
  44.     </part>
  45.     <part>
  46.         <id>2</id>
  47.         <type>field</type>
  48.         <visible> <true /> </visible>
  49.         <dontWrap> <false /> </dontWrap>
  50.         <dontSearch> <false /> </dontSearch>
  51.         <sharedText> <false /> </sharedText>
  52.         <fixedLineHeight> <true /> </fixedLineHeight>
  53.         <autoTab> <false /> </autoTab>
  54.         <lockText> <true /> </lockText>
  55.         <rect>
  56.             <left>117</left>
  57.             <top>75</top>
  58.             <right>200</right>
  59.             <bottom>93</bottom>
  60.         </rect>
  61.         <style>transparent</style>
  62.         <autoSelect> <false /> </autoSelect>
  63.         <showLines> <false /> </showLines>
  64.         <wideMargins> <false /> </wideMargins>
  65.         <multipleLines> <false /> </multipleLines>
  66.         <reservedFamily> 0 </reservedFamily>
  67.         <titleWidth>0</titleWidth>
  68.         <icon>0</icon>
  69.         <textAlign>left</textAlign>
  70.         <font>Palatino</font>
  71.         <textSize>12</textSize>
  72.         <textStyle>plain</textStyle>
  73.         <textHeight>16</textHeight>
  74.         <name>easter</name>
  75.         <script></script>
  76.     </part>
  77.     <part>
  78.         <id>3</id>
  79.         <type>button</type>
  80.         <visible> <true /> </visible>
  81.         <reserved5> 0 </reserved5>
  82.         <reserved4> 0 </reserved4>
  83.         <reserved3> 0 </reserved3>
  84.         <reserved2> 0 </reserved2>
  85.         <reserved1> 0 </reserved1>
  86.         <enabled> <true /> </enabled>
  87.         <rect>
  88.             <left>199</left>
  89.             <top>51</top>
  90.             <right>360</right>
  91.             <bottom>74</bottom>
  92.         </rect>
  93.         <style>roundrect</style>
  94.         <showName> <true /> </showName>
  95.         <highlight> <false /> </highlight>
  96.         <autoHighlight> <true /> </autoHighlight>
  97.         <sharedHighlight> <true /> </sharedHighlight>
  98.         <family>0</family>
  99.         <titleWidth>0</titleWidth>
  100.         <icon>0</icon>
  101.         <textAlign>center</textAlign>
  102.         <font>Palatino</font>
  103.         <textSize>12</textSize>
  104.         <textStyle>bold</textStyle>
  105.         <name>Calculate Holidays</name>
  106.         <script>on mouseUpput the value in card field "year" into Yearput Year into Eadd 1 to Edivide E by 19put E into Aput trunc of (A) into Asubtract A from Emultiply E by 19if E=0 then add 19 to Eelseend ifmultiply E by 11subtract 3 from Eif Year>1752 thensubtract 7 from Eelseend ifdivide E by 30put E into Aput trunc of (A) into Asubtract A from Emultiply E by 30if Year>1752 thensubtract value of trunc of (Year/100) from Eadd 16 to Eadd trunc of ((trunc of (Year/100)-15)/3) to Eelseend ifput value of E into line 2 of card field "easter"if E<24 thenput value of 24-E into Pelseput value of 54-E into Pend ifput value of P into line 3 of card field "easter"put the value in card field "year" into Xput X into Ldivide L by 4put trunc of (L) into Lput value of X+L-3 into Lif Year>1752 thensubtract 3 from Lsubtract value of trunc of (Year/100) from Ladd 16 to Lelseend ifdivide L by 7put L into Aput trunc of (A) into Asubtract A from Lmultiply L by 7put value of 7-L into Lput value of L into line 4 of card field "easter"if E<24 thenput value of (27-E)/7 into elput el into Aput trunc of (A) into Asubtract A from elmultiply el by 7if el=0 thenadd 7 to elelseend ifelseput value of (57-E)/7 into elput el into Aput trunc of (A) into Asubtract A from elmultiply el by 7if el=0 thenadd 7 to elelseend ifend ifput value of el into line 5 of card field "easter"put value of L-el into Lif L<-.1 thenadd 7 to Lelseend ifput value of L into line 6 of card field "easter"put value of P+L into peeadd 21 to peeput pee into marchdateif pee<32 thenput "March  " into line 1 of card field "Easter"put value of pee after second word in line 1 of card field "Easter"elseput "April  " into line 1 of card field "Easter"put value of pee-31 into peeput value of pee after second word in line 1 of card field "Easter"end ifput value of marchdate-46 into HOif HO>0 thenput "March " into line 1 of card field "ash Wednesday"put value of HO after second word in line 1 of card field "Ash Wednesday"elseif value of (Year/4)-trunc of (Year/4)=0 thenif Year>1752 thenif value of (Year/100)-trunc of (Year/100)=0 thenif value of (Year/400)-trunc of (Year/400)=0 thenadd 29 to HOelseadd 28 to HOend ifelseadd 29 to HOend ifelseadd 29 to HOend ifelseadd 28 to HOend ifput "February "into line 1 of card field "ash Wednesday"put value of HO after second word in line 1 of card field "Ash Wednesday"end ifput value of marchdate-63 into HOif value of (Year/4)-trunc of (Year/4)=0 thenif Year>1752 thenif value of (Year/100)-trunc of (Year/100)=0 thenif value of (Year/400)-trunc of (Year/400)=0 thenadd 29 to HOelseadd 28 to HOend ifelseadd 29 to HOend ifelseadd 29 to HOend ifelseadd 28 to HOend ifif HO>0 thenput "February  "into line 1 of card field "Septuagesima"put value of HO after second word in line 1 of card field "Septuagesima"elseadd 31 to Hoput "January  " into line 1 of card field "Septuagesima"put value of HO after second word in line 1 of card field "Septuagesima"end ifput value of marchdate+39 into HOif HO<62 thensubtract 31 from HOput "April " into line 1 of card field "Holy Thursday"put value of HO after second word in line 1 of card field "Holy Thursday"elsesubtract 61 from HOif HO>31 thensubtract 31 from HOput "June " into line 1 of card field "Holy Thursday"put value of HO after second word in line 1 of card field "Holy Thursday"elseput "May "into line 1 of card field "Holy Thursday"put value of HO after second word in line 1 of card field "Holy Thursday"end ifend ifput value of marchdate+49 into HOif HO‚â§92 thensubtract 61 from HOput "May " into line 1 of card field "Pentecost"put value of HO after second word in line 1 of card field "Pentecost"elsesubtract 92 from HOput "June "into line 1 of card field "Pentecost"put value of HO after second word in line 1 of card field "Pentecost"end ifput value of marchdate+56 into HOif HO<93 thensubtract 61 from HOput "May " into line 1 of card field "Trinity"put value of HO after second word in line 1 of card field "Trinity"elsesubtract 92 from HOput "June "into line 1 of card field "Trinity"put value of HO after second word in line 1 of card field "Trinity"end ifput value of marchdate+1 into HOput value of 7*((HO/7)-trunc of (HO/7)) into HOadd 27 to HOif HO<31 thenput "November " into line 1 of card field "Advent"put value of HO after second word in line 1 of card field "Advent"elsesubtract 30 from HOput "December " into line 1 of card field "Advent"put value of HO after second word in line 1 of card field "Advent"end ifend MouseUp</script>
  107.     </part>
  108.     <part>
  109.         <id>4</id>
  110.         <type>field</type>
  111.         <visible> <true /> </visible>
  112.         <dontWrap> <false /> </dontWrap>
  113.         <dontSearch> <false /> </dontSearch>
  114.         <sharedText> <false /> </sharedText>
  115.         <fixedLineHeight> <true /> </fixedLineHeight>
  116.         <autoTab> <false /> </autoTab>
  117.         <lockText> <false /> </lockText>
  118.         <rect>
  119.             <left>100</left>
  120.             <top>240</top>
  121.             <right>127</right>
  122.             <bottom>258</bottom>
  123.         </rect>
  124.         <style>rectangle</style>
  125.         <autoSelect> <false /> </autoSelect>
  126.         <showLines> <false /> </showLines>
  127.         <wideMargins> <false /> </wideMargins>
  128.         <multipleLines> <false /> </multipleLines>
  129.         <reservedFamily> 0 </reservedFamily>
  130.         <titleWidth>0</titleWidth>
  131.         <icon>0</icon>
  132.         <textAlign>left</textAlign>
  133.         <font>Palatino</font>
  134.         <textSize>12</textSize>
  135.         <textStyle>plain</textStyle>
  136.         <textHeight>16</textHeight>
  137.         <name>startmonth</name>
  138.         <script>on openfieldselect text of card field "startmonth"end openfield</script>
  139.     </part>
  140.     <part>
  141.         <id>5</id>
  142.         <type>field</type>
  143.         <visible> <true /> </visible>
  144.         <dontWrap> <false /> </dontWrap>
  145.         <dontSearch> <false /> </dontSearch>
  146.         <sharedText> <false /> </sharedText>
  147.         <fixedLineHeight> <true /> </fixedLineHeight>
  148.         <autoTab> <false /> </autoTab>
  149.         <lockText> <false /> </lockText>
  150.         <rect>
  151.             <left>126</left>
  152.             <top>240</top>
  153.             <right>151</right>
  154.             <bottom>258</bottom>
  155.         </rect>
  156.         <style>rectangle</style>
  157.         <autoSelect> <false /> </autoSelect>
  158.         <showLines> <false /> </showLines>
  159.         <wideMargins> <false /> </wideMargins>
  160.         <multipleLines> <false /> </multipleLines>
  161.         <reservedFamily> 0 </reservedFamily>
  162.         <titleWidth>0</titleWidth>
  163.         <icon>0</icon>
  164.         <textAlign>left</textAlign>
  165.         <font>Palatino</font>
  166.         <textSize>12</textSize>
  167.         <textStyle>plain</textStyle>
  168.         <textHeight>16</textHeight>
  169.         <name>startday</name>
  170.         <script>on openfieldselect text of card field "startday"end openfield</script>
  171.     </part>
  172.     <part>
  173.         <id>6</id>
  174.         <type>field</type>
  175.         <visible> <true /> </visible>
  176.         <dontWrap> <false /> </dontWrap>
  177.         <dontSearch> <false /> </dontSearch>
  178.         <sharedText> <false /> </sharedText>
  179.         <fixedLineHeight> <true /> </fixedLineHeight>
  180.         <autoTab> <false /> </autoTab>
  181.         <lockText> <false /> </lockText>
  182.         <rect>
  183.             <left>149</left>
  184.             <top>240</top>
  185.             <right>189</right>
  186.             <bottom>258</bottom>
  187.         </rect>
  188.         <style>rectangle</style>
  189.         <autoSelect> <false /> </autoSelect>
  190.         <showLines> <false /> </showLines>
  191.         <wideMargins> <false /> </wideMargins>
  192.         <multipleLines> <false /> </multipleLines>
  193.         <reservedFamily> 0 </reservedFamily>
  194.         <titleWidth>0</titleWidth>
  195.         <icon>0</icon>
  196.         <textAlign>left</textAlign>
  197.         <font>Palatino</font>
  198.         <textSize>12</textSize>
  199.         <textStyle>plain</textStyle>
  200.         <textHeight>16</textHeight>
  201.         <name>Startyear</name>
  202.         <script>on openfieldselect text of card field "Startyear"end openfield</script>
  203.     </part>
  204.     <part>
  205.         <id>7</id>
  206.         <type>button</type>
  207.         <visible> <true /> </visible>
  208.         <reserved5> 0 </reserved5>
  209.         <reserved4> 0 </reserved4>
  210.         <reserved3> 0 </reserved3>
  211.         <reserved2> 0 </reserved2>
  212.         <reserved1> 0 </reserved1>
  213.         <enabled> <true /> </enabled>
  214.         <rect>
  215.             <left>42</left>
  216.             <top>302</top>
  217.             <right>221</right>
  218.             <bottom>324</bottom>
  219.         </rect>
  220.         <style>roundrect</style>
  221.         <showName> <true /> </showName>
  222.         <highlight> <false /> </highlight>
  223.         <autoHighlight> <true /> </autoHighlight>
  224.         <sharedHighlight> <true /> </sharedHighlight>
  225.         <family>0</family>
  226.         <titleWidth>0</titleWidth>
  227.         <icon>0</icon>
  228.         <textAlign>center</textAlign>
  229.         <font>Palatino</font>
  230.         <textSize>12</textSize>
  231.         <textStyle>bold</textStyle>
  232.         <name>Calculate missing number</name>
  233.         <script>on mouseUpput value of card field "startyear" into SYput value of card field "endyear" into EYput value of card field "startmonth" into IMput value of card field "endmonth" into FMput value of card field "Days Between" into DBput value of card field "startday" into SDput value of card field "endday" into EDif DB=0 thenput 0 into MDSif EY-SY>0 thenif IM<3 thenif value of (SY/4)-trunc of (SY/4)=0 thenif SY>1752 thenif value of (SY/100)-trunc of (SY/100)=0 thenif value of (SY/400)-trunc of (SY/400)=0 thenadd 1 to MDSelseend ifelseadd 1 to MDSend ifelseadd 1 to MDSend ifelseend ifelseend ifrepeat with I=SY+1 to EYadd 365 to MDSif value of (I/4)-trunc of (I/4)=0 thenif I>1752 thenif value of (I/100)-trunc of (I/100)=0 thenif value of (I/400)-trunc of (I/400)=0 thenadd 1 to MDSelseend ifelseadd 1 to MDSend ifelseadd 1 to MDSend ifelseend ifend repeatelseend ifput value of (FM-IM)-1 into monthdaysmultiply monthdays by 30add monthdays to MDSif FM‚â§IM thenput IM into FM2put FM into IM2put value of IM2-1 into XRepeat with I = IM2 to FM2Add 1 to Xif X>12 thensubtract 12 from Xelseend ifif X=1 or X=3 or X=5 or X=7 or X=8 or X=10 or X=12 thensubtract 1 from MDSelseend ifif X=2 thenif FM<3 thenif value of (SY/4)-trunc of (SY/4)=0 thenif SY>1752 thenif value of (SY/100)-trunc of (SY/100)=0 thenif value of (SY/400)-trunc of (SY/400)=0 thenadd 1 to MDSelseadd 2 to MDSend ifelseadd 1 to MDSend ifelseadd 1 to MDSend ifelseadd 2 to MDSend ifelseadd 2 to MDSend ifelseend ifend repeatelseput value of IM into XRepeat with I = IM+1 to FM-1Add 1 to Xif X>12 thensubtract 12 from Xelseend ifif X=1 or X=3 or X=5 or X=7 or X=8 or X=10 or X=12 thenadd 1 to MDSelseend ifif X=2 thenif value of (SY/4)-trunc of (SY/4)=0 thenif SY>1752 thenif value of (SY/100)-trunc of (SY/100)=0 thenif value of (SY/400)-trunc of (SY/400)=0 thensubtract 1 from MDSelsesubtract 2 from MDSend ifelsesubtract 1 from MDSend ifelsesubtract 1 from MDSend ifelsesubtract 2 from MDSend ifelseend ifend repeatend ifadd value of 30-SD to MDSif IM=1 or IM=3 or IM=5 or IM=7 or IM=8 or IM=10 or IM=12 thenadd 1 to MDSelseend ifif IM=2 thenif value of (SY/4)-trunc of (SY/4)=0 thenif SY>1752 thenif value of (SY/100)-trunc of (SY/100)=0 thenif value of (SY/400)-trunc of (SY/400)=0 thensubtract 1 from MDSelsesubtract 2 from MDSend ifelsesubtract 1 from MDSend ifelsesubtract 1 from MDSend ifelsesubtract 2 from MDSend ifelseend ifadd ED to MDSput MDS into card field "Days Between"elseif EY=0 thenput 0 into Pput value of SY into EYput value of IM into FMput DB into daystoaddsubtract value of 30-SD from daystoaddif IM=1 or IM=3 or IM=5 or IM=7 or IM=8 or IM=10 or IM=12 thensubtract 1 from daystoaddelseend ifif IM=2 thenif value of (SY/4)-trunc of (SY/4)=0 thenif SY>1752 thenif value of (SY/100)-trunc of (SY/100)=0 thenif value of (SY/400)-trunc of (SY/400)=0 thenadd 1 to daystoaddelseadd 2 to daystoaddend ifelseadd 1 to daystoaddend ifelseadd 1 to daystoaddend ifelseadd 2 to daystoaddend ifelseend ifif daystoadd<32 thenif IM=1 or IM=3 or IM=5 or IM=7 or IM=8 or IM=10 or IM=12 thenadd 1 to IMput 1 into Pif IM>12 thensubtract 12 from IMelseend ifelseend ifif daystoadd<31 thenif IM=4 or IM=6 or IM=9 or IM=11 thenadd 1 to IMput 1 into Pif IM>12 thensubtract 12 from IMelseend ifelseif daystoadd<30 thenif P=0 thenif IM=2 thenif value of (SY/4)-trunc of (SY/4)=0 thenif SY>1752 thenif value of (SY/100)-trunc of (SY/100)=0 thenif value of (SY/400)-trunc of (SY/400)=0 thenput 3 into IMput 1 into Pelseif daystoadd<29 thenput 3 into IMput 1 into Pelseend ifend ifelseput 3 into IMput 1 into Pend ifelseput 3 into IMput 1 into Pend ifelseif daystoadd<29 thenput 3 into IMput 1 into Pelseend ifend ifelseend ifelseend ifelseend ifend ifelseend ifelseend ifif P=1 thenput value of daystoadd into card field "endday"put value of IM into card field "endmonth"put value of EY into card field "endyear"elseRepeat with X=1 to trunc of (daystoadd/30.42)subtract 30 from daystoaddadd 1 to FMif FM>12 thensubtract 12 from FMadd 1 to EYelseend ifif FM=1 or FM=3 or FM=5 or FM=7 or FM=8 or FM=10 or FM=12 thensubtract 1 from daystoaddelseend ifif FM=2 thenif value of (EY/4)-trunc of (EY/4)=0 thenif EY>1752 thenif value of (EY/100)-trunc of (EY/100)=0 thenif value of (EY/400)-trunc of (EY/400)=0 thenadd 1 to daystoaddelseadd 2 to daystoaddend ifelseadd 1 to daystoaddend ifelseadd 1 to daystoaddend ifelseadd 2 to daystoaddend ifelseend ifend repeatend ifadd 1 to FMif FM>12 thensubtract 12 from FMadd 1 to EYelseend ifput value of daystoadd into card field "endday"put value of FM into card field "endmonth"put value of EY into card field "endyear"elseput 0 into Pput 0 into Rput value of EY into SYput DB into daystosubtractif daystosubtract‚â§ED thensubtract daystosubtract from EDput SY into card field "Startyear"put ED into card field "Startday"put FM into card field "startmonth"elsesubtract ED from daystosubtractRepeat with X=1 to trunc of (daystosubtract/30.42)subtract 30 from daystosubtractsubtract 1 from FMif FM=0 thenput 12 into FMsubtract 1 from EYelseend ifif FM=1 or FM=3 or FM=5 or FM=7 or FM=8 or FM=10 or FM=12 thensubtract 1 from daystosubtractelseend ifif FM=2 thenif value of (EY/4)-trunc of (EY/4)=0 thenif EY>1752 thenif value of (EY/100)-trunc of (EY/100)=0 thenif value of (EY/400)-trunc of (EY/400)=0 thenadd 1 to daystosubtractelseadd 2 to daystosubtractend ifelseadd 1 to daystosubtractend ifelseadd 1 to daystosubtractend ifelseadd 2 to daystosubtractend ifelseend ifput 1 into Rend repeatsubtract 1 from FMif R=0 thenif daystosubtract=30 thenadd 1 to Pif FM=4 or FM=6 or FM=9 or FM=11 thensubtract 1 from FMput 31 into EDelseend ifelseend ifif daystosubtract=29 thenadd 1 to Pif FM=2 thenif value of (EY/4)-trunc of (EY/4)=0 thenif EY>1752 thenif value of (EY/100)-trunc of (EY/100)=0 thenif value of (EY/400)-trunc of (EY/400)=0 thenput 29 into EDelseend ifelseput 29 into EDend ifelseput 29 into EDend ifelseend ifelseend ifelseend ifif daystosubtract=28 thenadd 1 to Pif value of (EY/4)-trunc of (EY/4)=0 thenif EY>1752 thenif value of (EY/100)-trunc of (EY/100)=0 thenif value of (EY/400)-trunc of (EY/400)=0 thenelseput 28 into EDend ifelseend ifelseend ifelseput 28 into EDend ifelseend ifelseend ifif P=0 thenif daystosubtract=0 thenif FM=1 or FM=3 or FM=5 or FM=7 or FM=8 or FM=10 or FM=12 thenput 31 into EDelseend ifif FM=4 or FM=6 or FM=9 or FM=11 thenput 30 into EDelseend ifif FM=2 thenif value of (EY/4)-trunc of (EY/4)=0 thenif EY>1752 thenif value of (EY/100)-trunc of (EY/100)=0 thenif value of (EY/400)-trunc of (EY/400)=0 thenput 29 into EDelseput 28 into EDend ifelseput 29 into EDend ifelseput 29 into EDend ifelseput 28 into EDend ifelseend ifelseif FM<1 thenadd 12 to FMelseend ifif FM=1 or FM=3 or FM=5 or FM=7 or FM=8 or FM=10 or FM=12 thenput value of 31-daystosubtract into EDelseend ifif FM=4 or FM=6 or FM=9 or FM=11 thenput value of 30-daystosubtract into EDelseend ifif FM=2 thenif value of (EY/4)-trunc of (EY/4)=0 thenif EY>1752 thenif value of (EY/100)-trunc of (EY/100)=0 thenif value of (EY/400)-trunc of (EY/400)=0 thenput value of 29-daystosubtract into EDelseput value of 28-daystosubtract into EDend ifelseput value of 29-daystosubtract into EDend ifelseput value of 29-daystosubtract into EDend ifelseput value of 28-daystosubtract into EDend ifelseend ifend ifelseend ifput EY into card field "Startyear"put ED into card field "Startday"put FM into card field "startmonth"end ifend ifend ifend mouseUp</script>
  234.     </part>
  235.     <part>
  236.         <id>8</id>
  237.         <type>field</type>
  238.         <visible> <true /> </visible>
  239.         <dontWrap> <false /> </dontWrap>
  240.         <dontSearch> <false /> </dontSearch>
  241.         <sharedText> <false /> </sharedText>
  242.         <fixedLineHeight> <true /> </fixedLineHeight>
  243.         <autoTab> <false /> </autoTab>
  244.         <lockText> <false /> </lockText>
  245.         <rect>
  246.             <left>101</left>
  247.             <top>260</top>
  248.             <right>127</right>
  249.             <bottom>278</bottom>
  250.         </rect>
  251.         <style>rectangle</style>
  252.         <autoSelect> <false /> </autoSelect>
  253.         <showLines> <false /> </showLines>
  254.         <wideMargins> <false /> </wideMargins>
  255.         <multipleLines> <false /> </multipleLines>
  256.         <reservedFamily> 0 </reservedFamily>
  257.         <titleWidth>0</titleWidth>
  258.         <icon>0</icon>
  259.         <textAlign>left</textAlign>
  260.         <font>Palatino</font>
  261.         <textSize>12</textSize>
  262.         <textStyle>plain</textStyle>
  263.         <textHeight>16</textHeight>
  264.         <name>endmonth</name>
  265.         <script>on openfieldselect text of card field "endmonth"end openfield</script>
  266.     </part>
  267.     <part>
  268.         <id>9</id>
  269.         <type>field</type>
  270.         <visible> <true /> </visible>
  271.         <dontWrap> <false /> </dontWrap>
  272.         <dontSearch> <false /> </dontSearch>
  273.         <sharedText> <false /> </sharedText>
  274.         <fixedLineHeight> <true /> </fixedLineHeight>
  275.         <autoTab> <false /> </autoTab>
  276.         <lockText> <false /> </lockText>
  277.         <rect>
  278.             <left>125</left>
  279.             <top>260</top>
  280.             <right>150</right>
  281.             <bottom>278</bottom>
  282.         </rect>
  283.         <style>rectangle</style>
  284.         <autoSelect> <false /> </autoSelect>
  285.         <showLines> <false /> </showLines>
  286.         <wideMargins> <false /> </wideMargins>
  287.         <multipleLines> <false /> </multipleLines>
  288.         <reservedFamily> 0 </reservedFamily>
  289.         <titleWidth>0</titleWidth>
  290.         <icon>0</icon>
  291.         <textAlign>left</textAlign>
  292.         <font>Palatino</font>
  293.         <textSize>12</textSize>
  294.         <textStyle>plain</textStyle>
  295.         <textHeight>16</textHeight>
  296.         <name>endday</name>
  297.         <script>on openfieldselect text of card field "endday"end openfield</script>
  298.     </part>
  299.     <part>
  300.         <id>10</id>
  301.         <type>field</type>
  302.         <visible> <true /> </visible>
  303.         <dontWrap> <false /> </dontWrap>
  304.         <dontSearch> <false /> </dontSearch>
  305.         <sharedText> <false /> </sharedText>
  306.         <fixedLineHeight> <true /> </fixedLineHeight>
  307.         <autoTab> <false /> </autoTab>
  308.         <lockText> <false /> </lockText>
  309.         <rect>
  310.             <left>149</left>
  311.             <top>260</top>
  312.             <right>189</right>
  313.             <bottom>278</bottom>
  314.         </rect>
  315.         <style>rectangle</style>
  316.         <autoSelect> <false /> </autoSelect>
  317.         <showLines> <false /> </showLines>
  318.         <wideMargins> <false /> </wideMargins>
  319.         <multipleLines> <false /> </multipleLines>
  320.         <reservedFamily> 0 </reservedFamily>
  321.         <titleWidth>0</titleWidth>
  322.         <icon>0</icon>
  323.         <textAlign>left</textAlign>
  324.         <font>Palatino</font>
  325.         <textSize>12</textSize>
  326.         <textStyle>plain</textStyle>
  327.         <textHeight>16</textHeight>
  328.         <name>endyear</name>
  329.         <script>on openfieldselect text of card field "endyear"end openfield</script>
  330.     </part>
  331.     <part>
  332.         <id>11</id>
  333.         <type>field</type>
  334.         <visible> <true /> </visible>
  335.         <dontWrap> <false /> </dontWrap>
  336.         <dontSearch> <false /> </dontSearch>
  337.         <sharedText> <false /> </sharedText>
  338.         <fixedLineHeight> <true /> </fixedLineHeight>
  339.         <autoTab> <false /> </autoTab>
  340.         <lockText> <false /> </lockText>
  341.         <rect>
  342.             <left>103</left>
  343.             <top>282</top>
  344.             <right>156</right>
  345.             <bottom>300</bottom>
  346.         </rect>
  347.         <style>rectangle</style>
  348.         <autoSelect> <false /> </autoSelect>
  349.         <showLines> <false /> </showLines>
  350.         <wideMargins> <false /> </wideMargins>
  351.         <multipleLines> <false /> </multipleLines>
  352.         <reservedFamily> 0 </reservedFamily>
  353.         <titleWidth>0</titleWidth>
  354.         <icon>0</icon>
  355.         <textAlign>left</textAlign>
  356.         <font>Palatino</font>
  357.         <textSize>12</textSize>
  358.         <textStyle>plain</textStyle>
  359.         <textHeight>16</textHeight>
  360.         <name>Days Between</name>
  361.         <script>on openfieldselect text of card field "Days Between"end openfield</script>
  362.     </part>
  363.     <part>
  364.         <id>12</id>
  365.         <type>field</type>
  366.         <visible> <true /> </visible>
  367.         <dontWrap> <false /> </dontWrap>
  368.         <dontSearch> <false /> </dontSearch>
  369.         <sharedText> <false /> </sharedText>
  370.         <fixedLineHeight> <true /> </fixedLineHeight>
  371.         <autoTab> <false /> </autoTab>
  372.         <lockText> <false /> </lockText>
  373.         <rect>
  374.             <left>411</left>
  375.             <top>78</top>
  376.             <right>434</right>
  377.             <bottom>95</bottom>
  378.         </rect>
  379.         <style>rectangle</style>
  380.         <autoSelect> <false /> </autoSelect>
  381.         <showLines> <false /> </showLines>
  382.         <wideMargins> <false /> </wideMargins>
  383.         <multipleLines> <false /> </multipleLines>
  384.         <reservedFamily> 0 </reservedFamily>
  385.         <titleWidth>0</titleWidth>
  386.         <icon>0</icon>
  387.         <textAlign>left</textAlign>
  388.         <font>Palatino</font>
  389.         <textSize>12</textSize>
  390.         <textStyle>plain</textStyle>
  391.         <textHeight>16</textHeight>
  392.         <name>OSmonth</name>
  393.         <script>on openfieldselect text of card field "OSmonth"end openfield</script>
  394.     </part>
  395.     <part>
  396.         <id>14</id>
  397.         <type>field</type>
  398.         <visible> <true /> </visible>
  399.         <dontWrap> <false /> </dontWrap>
  400.         <dontSearch> <false /> </dontSearch>
  401.         <sharedText> <false /> </sharedText>
  402.         <fixedLineHeight> <true /> </fixedLineHeight>
  403.         <autoTab> <false /> </autoTab>
  404.         <lockText> <false /> </lockText>
  405.         <rect>
  406.             <left>433</left>
  407.             <top>78</top>
  408.             <right>456</right>
  409.             <bottom>95</bottom>
  410.         </rect>
  411.         <style>rectangle</style>
  412.         <autoSelect> <false /> </autoSelect>
  413.         <showLines> <false /> </showLines>
  414.         <wideMargins> <false /> </wideMargins>
  415.         <multipleLines> <false /> </multipleLines>
  416.         <reservedFamily> 0 </reservedFamily>
  417.         <titleWidth>0</titleWidth>
  418.         <icon>0</icon>
  419.         <textAlign>left</textAlign>
  420.         <font>Palatino</font>
  421.         <textSize>12</textSize>
  422.         <textStyle>plain</textStyle>
  423.         <textHeight>16</textHeight>
  424.         <name>OSday</name>
  425.         <script>on openfieldselect text of card field "OSday"end openfield</script>
  426.     </part>
  427.     <part>
  428.         <id>15</id>
  429.         <type>field</type>
  430.         <visible> <true /> </visible>
  431.         <dontWrap> <false /> </dontWrap>
  432.         <dontSearch> <false /> </dontSearch>
  433.         <sharedText> <false /> </sharedText>
  434.         <fixedLineHeight> <true /> </fixedLineHeight>
  435.         <autoTab> <false /> </autoTab>
  436.         <lockText> <false /> </lockText>
  437.         <rect>
  438.             <left>455</left>
  439.             <top>78</top>
  440.             <right>493</right>
  441.             <bottom>95</bottom>
  442.         </rect>
  443.         <style>rectangle</style>
  444.         <autoSelect> <false /> </autoSelect>
  445.         <showLines> <false /> </showLines>
  446.         <wideMargins> <false /> </wideMargins>
  447.         <multipleLines> <false /> </multipleLines>
  448.         <reservedFamily> 0 </reservedFamily>
  449.         <titleWidth>0</titleWidth>
  450.         <icon>0</icon>
  451.         <textAlign>left</textAlign>
  452.         <font>Palatino</font>
  453.         <textSize>12</textSize>
  454.         <textStyle>plain</textStyle>
  455.         <textHeight>16</textHeight>
  456.         <name>OSyear</name>
  457.         <script>on openfieldselect text of card field "OSyear"end openfield</script>
  458.     </part>
  459.     <part>
  460.         <id>16</id>
  461.         <type>field</type>
  462.         <visible> <true /> </visible>
  463.         <dontWrap> <false /> </dontWrap>
  464.         <dontSearch> <false /> </dontSearch>
  465.         <sharedText> <false /> </sharedText>
  466.         <fixedLineHeight> <true /> </fixedLineHeight>
  467.         <autoTab> <false /> </autoTab>
  468.         <lockText> <false /> </lockText>
  469.         <rect>
  470.             <left>413</left>
  471.             <top>176</top>
  472.             <right>436</right>
  473.             <bottom>193</bottom>
  474.         </rect>
  475.         <style>rectangle</style>
  476.         <autoSelect> <false /> </autoSelect>
  477.         <showLines> <false /> </showLines>
  478.         <wideMargins> <false /> </wideMargins>
  479.         <multipleLines> <false /> </multipleLines>
  480.         <reservedFamily> 0 </reservedFamily>
  481.         <titleWidth>0</titleWidth>
  482.         <icon>0</icon>
  483.         <textAlign>left</textAlign>
  484.         <font>Palatino</font>
  485.         <textSize>12</textSize>
  486.         <textStyle>plain</textStyle>
  487.         <textHeight>16</textHeight>
  488.         <name>NSmonth</name>
  489.         <script>on openfieldselect text of card field "NSmonth"end openfield</script>
  490.     </part>
  491.     <part>
  492.         <id>17</id>
  493.         <type>field</type>
  494.         <visible> <true /> </visible>
  495.         <dontWrap> <false /> </dontWrap>
  496.         <dontSearch> <false /> </dontSearch>
  497.         <sharedText> <false /> </sharedText>
  498.         <fixedLineHeight> <true /> </fixedLineHeight>
  499.         <autoTab> <false /> </autoTab>
  500.         <lockText> <false /> </lockText>
  501.         <rect>
  502.             <left>435</left>
  503.             <top>176</top>
  504.             <right>458</right>
  505.             <bottom>193</bottom>
  506.         </rect>
  507.         <style>rectangle</style>
  508.         <autoSelect> <false /> </autoSelect>
  509.         <showLines> <false /> </showLines>
  510.         <wideMargins> <false /> </wideMargins>
  511.         <multipleLines> <false /> </multipleLines>
  512.         <reservedFamily> 0 </reservedFamily>
  513.         <titleWidth>0</titleWidth>
  514.         <icon>0</icon>
  515.         <textAlign>left</textAlign>
  516.         <font>Palatino</font>
  517.         <textSize>12</textSize>
  518.         <textStyle>plain</textStyle>
  519.         <textHeight>16</textHeight>
  520.         <name>NSday</name>
  521.         <script>on openfieldselect text of card field "NSday"end openfield</script>
  522.     </part>
  523.     <part>
  524.         <id>18</id>
  525.         <type>field</type>
  526.         <visible> <true /> </visible>
  527.         <dontWrap> <false /> </dontWrap>
  528.         <dontSearch> <false /> </dontSearch>
  529.         <sharedText> <false /> </sharedText>
  530.         <fixedLineHeight> <true /> </fixedLineHeight>
  531.         <autoTab> <false /> </autoTab>
  532.         <lockText> <false /> </lockText>
  533.         <rect>
  534.             <left>457</left>
  535.             <top>176</top>
  536.             <right>495</right>
  537.             <bottom>193</bottom>
  538.         </rect>
  539.         <style>rectangle</style>
  540.         <autoSelect> <false /> </autoSelect>
  541.         <showLines> <false /> </showLines>
  542.         <wideMargins> <false /> </wideMargins>
  543.         <multipleLines> <false /> </multipleLines>
  544.         <reservedFamily> 0 </reservedFamily>
  545.         <titleWidth>0</titleWidth>
  546.         <icon>0</icon>
  547.         <textAlign>left</textAlign>
  548.         <font>Palatino</font>
  549.         <textSize>12</textSize>
  550.         <textStyle>plain</textStyle>
  551.         <textHeight>16</textHeight>
  552.         <name>NSyear</name>
  553.         <script>on openfieldselect text of card field "NSyear"end openfield</script>
  554.     </part>
  555.     <part>
  556.         <id>19</id>
  557.         <type>button</type>
  558.         <visible> <true /> </visible>
  559.         <reserved5> 0 </reserved5>
  560.         <reserved4> 0 </reserved4>
  561.         <reserved3> 0 </reserved3>
  562.         <reserved2> 0 </reserved2>
  563.         <reserved1> 0 </reserved1>
  564.         <enabled> <true /> </enabled>
  565.         <rect>
  566.             <left>354</left>
  567.             <top>140</top>
  568.             <right>490</right>
  569.             <bottom>154</bottom>
  570.         </rect>
  571.         <style>rectangle</style>
  572.         <showName> <true /> </showName>
  573.         <highlight> <false /> </highlight>
  574.         <autoHighlight> <true /> </autoHighlight>
  575.         <sharedHighlight> <true /> </sharedHighlight>
  576.         <family>0</family>
  577.         <titleWidth>0</titleWidth>
  578.         <icon>0</icon>
  579.         <textAlign>center</textAlign>
  580.         <font>Palatino</font>
  581.         <textSize>12</textSize>
  582.         <textStyle>bold</textStyle>
  583.         <name>Old style to New style</name>
  584.         <script>on mouseUpput card field "OSmonth" into OSMput card field "OSday" into OSDput card field "OSyear" into OSYif OSM=3 thenif OSD<25 thenadd 1 to OSYput OSY into card field "NSyear"elseput OSY into card field "NSyear"end ifelseif OSM<3 thenadd 1 to OSYput OSY into card field "NSyear"elseput OSY into card field "NSyear"end ifend ifadd 10 to OSDput value of trunc of (OSY/100)-16 into CORif COR>0 thensubtract value of trunc of (OSY/400)-4 from CORadd COR to OSDelseend ifif OSD>31 thenif OSM=2 thenif value of (OSY/4)-trunc of (OSY/4)=0 thenif value of (OSY/100)-trunc of (OSY/100)=0 thensubtract 28 from OSDelsesubtract 29 from OSDend ifsubtract 29 from OSDelsesubtract 28 from OSDend ifelseend ifif OSM=1 or OSM=3 or OSM=5 or OSM=7 or OSM=8 or OSM=10 or OSM=12 thensubtract 31 from OSDelsesubtract 30 from OSDend ifadd 1 to OSMelseend ifif OSD>30 thenif OSM=2 thenif value of (OSY/4)-trunc of (OSY/4)=0 thenif value of (OSY/100)-trunc of (OSY/100)=0 thensubtract 28 from OSDelsesubtract 29 from OSDend ifsubtract 29 from OSDelsesubtract 28 from OSDend ifelseend ifif OSM=9 or OSM=4 or OSM=6 or OSM=11 thensubtract 30 from OSDelseend ifadd 1 to OSMelseend ifput OSD into card field "NSday"put OSM into card field "NSmonth"end mouseUp</script>
  585.     </part>
  586.     <part>
  587.         <id>21</id>
  588.         <type>button</type>
  589.         <visible> <true /> </visible>
  590.         <reserved5> 0 </reserved5>
  591.         <reserved4> 0 </reserved4>
  592.         <reserved3> 0 </reserved3>
  593.         <reserved2> 0 </reserved2>
  594.         <reserved1> 0 </reserved1>
  595.         <enabled> <true /> </enabled>
  596.         <rect>
  597.             <left>354</left>
  598.             <top>157</top>
  599.             <right>490</right>
  600.             <bottom>171</bottom>
  601.         </rect>
  602.         <style>rectangle</style>
  603.         <showName> <true /> </showName>
  604.         <highlight> <false /> </highlight>
  605.         <autoHighlight> <true /> </autoHighlight>
  606.         <sharedHighlight> <true /> </sharedHighlight>
  607.         <family>0</family>
  608.         <titleWidth>0</titleWidth>
  609.         <icon>0</icon>
  610.         <textAlign>center</textAlign>
  611.         <font>Palatino</font>
  612.         <textSize>12</textSize>
  613.         <textStyle>bold</textStyle>
  614.         <name>New style to Old style</name>
  615.         <script>on mouseUpput card field "NSmonth" into NSMput card field "NSday" into NSDput card field "NSyear" into NSYput card field "NSyear" into OSYif NSM=3 thenif NSD<25 thensubtract 1 from OSYput OSY into card field "OSyear"elseput NSY into card field "OSyear"end ifelseif NSM<3 thensubtract 1 from OSYput OSY into card field "OSyear"elseput NSY into card field "OSyear"end ifend ifsubtract 10 from NSDput value of trunc of (NSY/100)-16 into CORif COR>0 thensubtract COR from NSDelseend ifif NSD<0 thenif NSM=3 thenif value of (NSY/4)-trunc of (NSY/4)=0 thenif value of (NSY/100)-trunc of (NSY/100)=0 thenadd 28 to NSDelseadd 29 to NSDend ifadd 29 to NSDelseadd 28 to NSDend ifelseend ifif NSM=2 or NSM=4 or NSM=6 or NSM=8 or NSM=9 or NSM=11 or NSM=1 thenadd 31 to NSDelseadd 30 to NSDend ifsubtract 1 from NSMelseend ifput NSD into card field "OSday"put NSM into card field "OSmonth"end mouseUp</script>
  616.     </part>
  617.     <part>
  618.         <id>23</id>
  619.         <type>field</type>
  620.         <visible> <true /> </visible>
  621.         <dontWrap> <false /> </dontWrap>
  622.         <dontSearch> <false /> </dontSearch>
  623.         <sharedText> <false /> </sharedText>
  624.         <fixedLineHeight> <true /> </fixedLineHeight>
  625.         <autoTab> <false /> </autoTab>
  626.         <lockText> <true /> </lockText>
  627.         <rect>
  628.             <left>117</left>
  629.             <top>104</top>
  630.             <right>198</right>
  631.             <bottom>121</bottom>
  632.         </rect>
  633.         <style>transparent</style>
  634.         <autoSelect> <false /> </autoSelect>
  635.         <showLines> <false /> </showLines>
  636.         <wideMargins> <false /> </wideMargins>
  637.         <multipleLines> <false /> </multipleLines>
  638.         <reservedFamily> 0 </reservedFamily>
  639.         <titleWidth>0</titleWidth>
  640.         <icon>0</icon>
  641.         <textAlign>left</textAlign>
  642.         <font>Palatino</font>
  643.         <textSize>12</textSize>
  644.         <textStyle>plain</textStyle>
  645.         <textHeight>16</textHeight>
  646.         <name>ash wednesday</name>
  647.         <script></script>
  648.     </part>
  649.     <part>
  650.         <id>25</id>
  651.         <type>field</type>
  652.         <visible> <true /> </visible>
  653.         <dontWrap> <false /> </dontWrap>
  654.         <dontSearch> <false /> </dontSearch>
  655.         <sharedText> <false /> </sharedText>
  656.         <fixedLineHeight> <true /> </fixedLineHeight>
  657.         <autoTab> <false /> </autoTab>
  658.         <lockText> <true /> </lockText>
  659.         <rect>
  660.             <left>117</left>
  661.             <top>119</top>
  662.             <right>193</right>
  663.             <bottom>136</bottom>
  664.         </rect>
  665.         <style>transparent</style>
  666.         <autoSelect> <false /> </autoSelect>
  667.         <showLines> <false /> </showLines>
  668.         <wideMargins> <false /> </wideMargins>
  669.         <multipleLines> <false /> </multipleLines>
  670.         <reservedFamily> 0 </reservedFamily>
  671.         <titleWidth>0</titleWidth>
  672.         <icon>0</icon>
  673.         <textAlign>left</textAlign>
  674.         <font>Palatino</font>
  675.         <textSize>12</textSize>
  676.         <textStyle>plain</textStyle>
  677.         <textHeight>16</textHeight>
  678.         <name>Holy Thursday</name>
  679.         <script></script>
  680.     </part>
  681.     <part>
  682.         <id>26</id>
  683.         <type>field</type>
  684.         <visible> <true /> </visible>
  685.         <dontWrap> <false /> </dontWrap>
  686.         <dontSearch> <false /> </dontSearch>
  687.         <sharedText> <false /> </sharedText>
  688.         <fixedLineHeight> <true /> </fixedLineHeight>
  689.         <autoTab> <false /> </autoTab>
  690.         <lockText> <true /> </lockText>
  691.         <rect>
  692.             <left>117</left>
  693.             <top>134</top>
  694.             <right>184</right>
  695.             <bottom>151</bottom>
  696.         </rect>
  697.         <style>transparent</style>
  698.         <autoSelect> <false /> </autoSelect>
  699.         <showLines> <false /> </showLines>
  700.         <wideMargins> <false /> </wideMargins>
  701.         <multipleLines> <false /> </multipleLines>
  702.         <reservedFamily> 0 </reservedFamily>
  703.         <titleWidth>0</titleWidth>
  704.         <icon>0</icon>
  705.         <textAlign>left</textAlign>
  706.         <font>Palatino</font>
  707.         <textSize>12</textSize>
  708.         <textStyle>plain</textStyle>
  709.         <textHeight>16</textHeight>
  710.         <name>Pentecost</name>
  711.         <script></script>
  712.     </part>
  713.     <part>
  714.         <id>27</id>
  715.         <type>field</type>
  716.         <visible> <true /> </visible>
  717.         <dontWrap> <false /> </dontWrap>
  718.         <dontSearch> <false /> </dontSearch>
  719.         <sharedText> <false /> </sharedText>
  720.         <fixedLineHeight> <true /> </fixedLineHeight>
  721.         <autoTab> <false /> </autoTab>
  722.         <lockText> <true /> </lockText>
  723.         <rect>
  724.             <left>117</left>
  725.             <top>149</top>
  726.             <right>184</right>
  727.             <bottom>166</bottom>
  728.         </rect>
  729.         <style>transparent</style>
  730.         <autoSelect> <false /> </autoSelect>
  731.         <showLines> <false /> </showLines>
  732.         <wideMargins> <false /> </wideMargins>
  733.         <multipleLines> <false /> </multipleLines>
  734.         <reservedFamily> 0 </reservedFamily>
  735.         <titleWidth>0</titleWidth>
  736.         <icon>0</icon>
  737.         <textAlign>left</textAlign>
  738.         <font>Palatino</font>
  739.         <textSize>12</textSize>
  740.         <textStyle>plain</textStyle>
  741.         <textHeight>16</textHeight>
  742.         <name>Trinity</name>
  743.         <script></script>
  744.     </part>
  745.     <part>
  746.         <id>30</id>
  747.         <type>field</type>
  748.         <visible> <true /> </visible>
  749.         <dontWrap> <false /> </dontWrap>
  750.         <dontSearch> <false /> </dontSearch>
  751.         <sharedText> <false /> </sharedText>
  752.         <fixedLineHeight> <true /> </fixedLineHeight>
  753.         <autoTab> <false /> </autoTab>
  754.         <lockText> <true /> </lockText>
  755.         <rect>
  756.             <left>412</left>
  757.             <top>99</top>
  758.             <right>491</right>
  759.             <bottom>116</bottom>
  760.         </rect>
  761.         <style>rectangle</style>
  762.         <autoSelect> <false /> </autoSelect>
  763.         <showLines> <false /> </showLines>
  764.         <wideMargins> <false /> </wideMargins>
  765.         <multipleLines> <false /> </multipleLines>
  766.         <reservedFamily> 0 </reservedFamily>
  767.         <titleWidth>0</titleWidth>
  768.         <icon>0</icon>
  769.         <textAlign>left</textAlign>
  770.         <font>Palatino</font>
  771.         <textSize>12</textSize>
  772.         <textStyle>plain</textStyle>
  773.         <textHeight>16</textHeight>
  774.         <name>weekday</name>
  775.         <script></script>
  776.     </part>
  777.     <part>
  778.         <id>31</id>
  779.         <type>button</type>
  780.         <visible> <true /> </visible>
  781.         <reserved5> 0 </reserved5>
  782.         <reserved4> 0 </reserved4>
  783.         <reserved3> 0 </reserved3>
  784.         <reserved2> 0 </reserved2>
  785.         <reserved1> 0 </reserved1>
  786.         <enabled> <true /> </enabled>
  787.         <rect>
  788.             <left>268</left>
  789.             <top>99</top>
  790.             <right>408</right>
  791.             <bottom>119</bottom>
  792.         </rect>
  793.         <style>roundrect</style>
  794.         <showName> <true /> </showName>
  795.         <highlight> <false /> </highlight>
  796.         <autoHighlight> <true /> </autoHighlight>
  797.         <sharedHighlight> <true /> </sharedHighlight>
  798.         <family>0</family>
  799.         <titleWidth>0</titleWidth>
  800.         <icon>0</icon>
  801.         <textAlign>center</textAlign>
  802.         <font>Palatino</font>
  803.         <textSize>12</textSize>
  804.         <textStyle>bold</textStyle>
  805.         <name>Calculate Day of Week</name>
  806.         <script>on mouseUpput card field "OSmonth" into OSMput card field "OSday" into OSDput card field "OSyear" into OSYif OSM=3 thenif OSD<25 thenput the value in card field "year" into Yearif OSY=Year thenshow card field "warning"elseend ifadd 1 to OSYelseend ifelseif OSM<3 thenput the value in card field "year" into Yearif OSY=Year thenshow card field "warning"elseend ifadd 1 to OSYelseend ifend ifput value of (OSY-1)*365 + trunc of ((OSY-1)/4) into MDSput value of OSM-1 into monthdaysmultiply monthdays by 30add monthdays to MDSput 0 into XRepeat with I = 1 to OSM-1Add 1 to Xif X=1 or X=3 or X=5 or X=7 or X=8 or X=10 or X=12 thenadd 1 to MDSelseend ifif X=2 thenif value of (OSY/4)-trunc of (OSY/4)=0 thenif OSY>1752 thenif value of (OSY/100)-trunc of (OSY/100)=0 thensubtract 2 from MDSelsesubtract 1 from MDSend ifelsesubtract 1 from MDSend ifelsesubtract 2 from MDSend ifelseend ifend repeatadd OSD-1 to MDSput value of (MDS/7)-trunc of (MDS/7) into MDSmultiply MDS by 7if MDS=0 thenput "Saturday" into line 1 of card field "weekday"elseend ifif MDS>0 thenif MDS<1.1 thenput "Sunday" into line 1 of card field "weekday"elseend ifelseend ifif MDS>1.1 thenif MDS<2.1 thenput "Monday" into line 1 of card field "weekday"elseend ifelseend ifif MDS>2.1 thenif MDS<3.1 thenput "Tuesday" into line 1 of card field "weekday"elseend ifelseend ifif MDS>3.1 thenif MDS<4.1 thenput "Wednesday" into line 1 of card field "weekday"elseend ifelseend ifif MDS>4.1 thenif MDS<5.1 thenput "Thursday" into line 1 of card field "weekday"elseput "Friday" into line 1 of card field "weekday"end ifelseend ifend mouseUp</script>
  807.     </part>
  808.     <part>
  809.         <id>34</id>
  810.         <type>field</type>
  811.         <visible> <true /> </visible>
  812.         <dontWrap> <false /> </dontWrap>
  813.         <dontSearch> <false /> </dontSearch>
  814.         <sharedText> <false /> </sharedText>
  815.         <fixedLineHeight> <true /> </fixedLineHeight>
  816.         <autoTab> <false /> </autoTab>
  817.         <lockText> <true /> </lockText>
  818.         <rect>
  819.             <left>117</left>
  820.             <top>90</top>
  821.             <right>204</right>
  822.             <bottom>106</bottom>
  823.         </rect>
  824.         <style>transparent</style>
  825.         <autoSelect> <false /> </autoSelect>
  826.         <showLines> <false /> </showLines>
  827.         <wideMargins> <false /> </wideMargins>
  828.         <multipleLines> <false /> </multipleLines>
  829.         <reservedFamily> 0 </reservedFamily>
  830.         <titleWidth>0</titleWidth>
  831.         <icon>0</icon>
  832.         <textAlign>left</textAlign>
  833.         <font>Palatino</font>
  834.         <textSize>12</textSize>
  835.         <textStyle>plain</textStyle>
  836.         <textHeight>16</textHeight>
  837.         <name>Septuagesima</name>
  838.         <script></script>
  839.     </part>
  840.     <part>
  841.         <id>35</id>
  842.         <type>field</type>
  843.         <visible> <true /> </visible>
  844.         <dontWrap> <false /> </dontWrap>
  845.         <dontSearch> <false /> </dontSearch>
  846.         <sharedText> <false /> </sharedText>
  847.         <fixedLineHeight> <true /> </fixedLineHeight>
  848.         <autoTab> <false /> </autoTab>
  849.         <lockText> <true /> </lockText>
  850.         <rect>
  851.             <left>117</left>
  852.             <top>164</top>
  853.             <right>209</right>
  854.             <bottom>180</bottom>
  855.         </rect>
  856.         <style>transparent</style>
  857.         <autoSelect> <false /> </autoSelect>
  858.         <showLines> <false /> </showLines>
  859.         <wideMargins> <false /> </wideMargins>
  860.         <multipleLines> <false /> </multipleLines>
  861.         <reservedFamily> 0 </reservedFamily>
  862.         <titleWidth>0</titleWidth>
  863.         <icon>0</icon>
  864.         <textAlign>left</textAlign>
  865.         <font>Palatino</font>
  866.         <textSize>12</textSize>
  867.         <textStyle>plain</textStyle>
  868.         <textHeight>16</textHeight>
  869.         <name>Advent</name>
  870.         <script></script>
  871.     </part>
  872.     <part>
  873.         <id>38</id>
  874.         <type>field</type>
  875.         <visible> <true /> </visible>
  876.         <dontWrap> <false /> </dontWrap>
  877.         <dontSearch> <false /> </dontSearch>
  878.         <sharedText> <false /> </sharedText>
  879.         <fixedLineHeight> <true /> </fixedLineHeight>
  880.         <autoTab> <false /> </autoTab>
  881.         <lockText> <true /> </lockText>
  882.         <rect>
  883.             <left>229</left>
  884.             <top>216</top>
  885.             <right>491</right>
  886.             <bottom>266</bottom>
  887.         </rect>
  888.         <style>scrolling</style>
  889.         <autoSelect> <false /> </autoSelect>
  890.         <showLines> <false /> </showLines>
  891.         <wideMargins> <false /> </wideMargins>
  892.         <multipleLines> <false /> </multipleLines>
  893.         <reservedFamily> 0 </reservedFamily>
  894.         <titleWidth>0</titleWidth>
  895.         <icon>0</icon>
  896.         <textAlign>left</textAlign>
  897.         <font>Palatino</font>
  898.         <textSize>12</textSize>
  899.         <textStyle>plain</textStyle>
  900.         <textHeight>16</textHeight>
  901.         <name></name>
  902.         <script></script>
  903.     </part>
  904.     <part>
  905.         <id>40</id>
  906.         <type>button</type>
  907.         <visible> <true /> </visible>
  908.         <reserved5> 0 </reserved5>
  909.         <reserved4> 0 </reserved4>
  910.         <reserved3> 0 </reserved3>
  911.         <reserved2> 0 </reserved2>
  912.         <reserved1> 0 </reserved1>
  913.         <enabled> <true /> </enabled>
  914.         <rect>
  915.             <left>441</left>
  916.             <top>196</top>
  917.             <right>476</right>
  918.             <bottom>212</bottom>
  919.         </rect>
  920.         <style>rectangle</style>
  921.         <showName> <true /> </showName>
  922.         <highlight> <false /> </highlight>
  923.         <autoHighlight> <true /> </autoHighlight>
  924.         <sharedHighlight> <true /> </sharedHighlight>
  925.         <family>0</family>
  926.         <titleWidth>0</titleWidth>
  927.         <icon>0</icon>
  928.         <textAlign>center</textAlign>
  929.         <font>Palatino</font>
  930.         <textSize>12</textSize>
  931.         <textStyle>bold</textStyle>
  932.         <name>Find</name>
  933.         <script>on mouseUpdoMenu Find...end mouseUp</script>
  934.     </part>
  935.     <part>
  936.         <id>41</id>
  937.         <type>button</type>
  938.         <visible> <true /> </visible>
  939.         <reserved5> 0 </reserved5>
  940.         <reserved4> 0 </reserved4>
  941.         <reserved3> 0 </reserved3>
  942.         <reserved2> 0 </reserved2>
  943.         <reserved1> 0 </reserved1>
  944.         <enabled> <true /> </enabled>
  945.         <rect>
  946.             <left>384</left>
  947.             <top>299</top>
  948.             <right>484</right>
  949.             <bottom>321</bottom>
  950.         </rect>
  951.         <style>roundrect</style>
  952.         <showName> <true /> </showName>
  953.         <highlight> <false /> </highlight>
  954.         <autoHighlight> <true /> </autoHighlight>
  955.         <sharedHighlight> <true /> </sharedHighlight>
  956.         <family>0</family>
  957.         <titleWidth>0</titleWidth>
  958.         <icon>0</icon>
  959.         <textAlign>center</textAlign>
  960.         <font>Palatino</font>
  961.         <textSize>12</textSize>
  962.         <textStyle>bold</textStyle>
  963.         <name>Help</name>
  964.         <script>on mouseUpshow card field "help"end mouseUp</script>
  965.     </part>
  966.     <part>
  967.         <id>44</id>
  968.         <type>field</type>
  969.         <visible> <false /> </visible>
  970.         <dontWrap> <false /> </dontWrap>
  971.         <dontSearch> <false /> </dontSearch>
  972.         <sharedText> <false /> </sharedText>
  973.         <fixedLineHeight> <true /> </fixedLineHeight>
  974.         <autoTab> <false /> </autoTab>
  975.         <lockText> <true /> </lockText>
  976.         <rect>
  977.             <left>45</left>
  978.             <top>47</top>
  979.             <right>464</right>
  980.             <bottom>301</bottom>
  981.         </rect>
  982.         <style>scrolling</style>
  983.         <autoSelect> <false /> </autoSelect>
  984.         <showLines> <true /> </showLines>
  985.         <wideMargins> <false /> </wideMargins>
  986.         <multipleLines> <false /> </multipleLines>
  987.         <reservedFamily> 0 </reservedFamily>
  988.         <titleWidth>0</titleWidth>
  989.         <icon>0</icon>
  990.         <textAlign>left</textAlign>
  991.         <font>New Century Schlbk</font>
  992.         <textSize>12</textSize>
  993.         <textStyle>plain</textStyle>
  994.         <textHeight>16</textHeight>
  995.         <name>help</name>
  996.         <script></script>
  997.     </part>
  998.     <part>
  999.         <id>45</id>
  1000.         <type>button</type>
  1001.         <visible> <true /> </visible>
  1002.         <reserved5> 0 </reserved5>
  1003.         <reserved4> 0 </reserved4>
  1004.         <reserved3> 0 </reserved3>
  1005.         <reserved2> 0 </reserved2>
  1006.         <reserved1> 0 </reserved1>
  1007.         <enabled> <true /> </enabled>
  1008.         <rect>
  1009.             <left>223</left>
  1010.             <top>314</top>
  1011.             <right>352</right>
  1012.             <bottom>328</bottom>
  1013.         </rect>
  1014.         <style>transparent</style>
  1015.         <showName> <false /> </showName>
  1016.         <highlight> <false /> </highlight>
  1017.         <autoHighlight> <false /> </autoHighlight>
  1018.         <sharedHighlight> <true /> </sharedHighlight>
  1019.         <family>0</family>
  1020.         <titleWidth>0</titleWidth>
  1021.         <icon>0</icon>
  1022.         <textAlign>center</textAlign>
  1023.         <font>Chicago</font>
  1024.         <textSize>12</textSize>
  1025.         <textStyle>plain</textStyle>
  1026.         <name>New Button</name>
  1027.         <script>on mouseUpshow card field "help"Find "freeware" in card field "help"end mouseUp</script>
  1028.     </part>
  1029.     <part>
  1030.         <id>47</id>
  1031.         <type>field</type>
  1032.         <visible> <false /> </visible>
  1033.         <dontWrap> <false /> </dontWrap>
  1034.         <dontSearch> <false /> </dontSearch>
  1035.         <sharedText> <false /> </sharedText>
  1036.         <fixedLineHeight> <false /> </fixedLineHeight>
  1037.         <autoTab> <false /> </autoTab>
  1038.         <lockText> <true /> </lockText>
  1039.         <rect>
  1040.             <left>128</left>
  1041.             <top>125</top>
  1042.             <right>379</right>
  1043.             <bottom>272</bottom>
  1044.         </rect>
  1045.         <style>shadow</style>
  1046.         <autoSelect> <false /> </autoSelect>
  1047.         <showLines> <false /> </showLines>
  1048.         <wideMargins> <false /> </wideMargins>
  1049.         <multipleLines> <false /> </multipleLines>
  1050.         <reservedFamily> 0 </reservedFamily>
  1051.         <titleWidth>0</titleWidth>
  1052.         <icon>0</icon>
  1053.         <textAlign>left</textAlign>
  1054.         <font>Chicago</font>
  1055.         <textSize>12</textSize>
  1056.         <textStyle>plain</textStyle>
  1057.         <textHeight>16</textHeight>
  1058.         <name>warning</name>
  1059.         <script></script>
  1060.     </part>
  1061.     <content>
  1062.         <layer>card</layer>
  1063.         <id>2</id>
  1064.         <text>April  222826716</text>
  1065.     </content>
  1066.     <content>
  1067.         <layer>card</layer>
  1068.         <id>12</id>
  1069.         <text>3</text>
  1070.     </content>
  1071.     <content>
  1072.         <layer>card</layer>
  1073.         <id>14</id>
  1074.         <text>25</text>
  1075.     </content>
  1076.     <content>
  1077.         <layer>card</layer>
  1078.         <id>18</id>
  1079.         <text>1601</text>
  1080.     </content>
  1081.     <content>
  1082.         <layer>card</layer>
  1083.         <id>17</id>
  1084.         <text>2</text>
  1085.     </content>
  1086.     <content>
  1087.         <layer>card</layer>
  1088.         <id>16</id>
  1089.         <text>4</text>
  1090.     </content>
  1091.     <content>
  1092.         <layer>card</layer>
  1093.         <id>23</id>
  1094.         <text>March 7</text>
  1095.     </content>
  1096.     <content>
  1097.         <layer>card</layer>
  1098.         <id>25</id>
  1099.         <text>May 31</text>
  1100.     </content>
  1101.     <content>
  1102.         <layer>card</layer>
  1103.         <id>26</id>
  1104.         <text>June 10</text>
  1105.     </content>
  1106.     <content>
  1107.         <layer>card</layer>
  1108.         <id>27</id>
  1109.         <text>June 17</text>
  1110.     </content>
  1111.     <content>
  1112.         <layer>card</layer>
  1113.         <id>9</id>
  1114.         <text>8</text>
  1115.     </content>
  1116.     <content>
  1117.         <layer>card</layer>
  1118.         <id>8</id>
  1119.         <text>10</text>
  1120.     </content>
  1121.     <content>
  1122.         <layer>card</layer>
  1123.         <id>15</id>
  1124.         <text>1649</text>
  1125.     </content>
  1126.     <content>
  1127.         <layer>card</layer>
  1128.         <id>30</id>
  1129.         <text>Sunday6.000001</text>
  1130.     </content>
  1131.     <content>
  1132.         <layer>card</layer>
  1133.         <id>10</id>
  1134.         <text>1451</text>
  1135.     </content>
  1136.     <content>
  1137.         <layer>card</layer>
  1138.         <id>34</id>
  1139.         <text>February  19</text>
  1140.     </content>
  1141.     <content>
  1142.         <layer>card</layer>
  1143.         <id>35</id>
  1144.         <text>December 2</text>
  1145.     </content>
  1146.     <content>
  1147.         <layer>card</layer>
  1148.         <id>38</id>
  1149.         <text>Lent                                    40 week days between Ash Wednesday and EasterAdvent                              Period from Advent Sunday to December 25Sexagesima Sunday            Sunday  after Septuagesima Sunday.Quinquagesima Sunday        2nd Sunday after Septuagesima SundayShrove Tuesday                  day before Ash Wednesday.Passion Sunday                  2nd Sunday before EasterPalm Sunday                         Sunday before EasterQuasimodo (Low) Sunday    Sunday after EasterGood Friday                              Friday before EasterMaundy Thursday                 Thursday before Easter Adorate dominum          3rd Sunday after January 6Adrian (Canterbury)    January 9Ad te levavi                    Advent SundayAgatha                            February 5Agnes                              January 21Alban                               June 22(or June in 1662 Prayer Book)Aldhelm                          May 25All Hallows                     November 1All Saints                         November 1All Souls                           November 2Alphege                            April 19Ambrose                           April 4Andrew                             November 30Anne                                  July 26Annunciation                  March 25Aspiciens a longe            Advent SundayAudoenus (Ouen)            August 24 or 25Audrey (Ethelreda)         October 17Augustine (Canterbury) May 26Augustine (Hippo)           August 28Barnabas                            June 11Bartholomew                     August 24Bede, Venerable                May 27Benedict                               March 21Translation of Benedict   July 11Birinus                                 December 3Blasius                                  February 3Boniface                                June 5Botolph                                  June 17Bricius                                   November 13Candlemas                            February 2Canite Tuba                           4th Sunday in AdventCantate domino                    4th Sunday after EasterCathedra Petri                      February 22Catherine                               November 25Cecilia                                     November 22Cena domini                          Thursday before Easter Chad (Cedde)                         March 2Christmas (Natale Domini) December 25Christopher                           July 25Circumcision                        January 1Clausum Pasche                  1st Sunday after EasterClement                                  November 23Cornelius+Cyprian             September 14Corpus Christi                      Thursday after octave of Pentecost (Trinity)*Crispin and Crispinian     October 25Exaltation of the Cross       September 14Invention of the Cross        May 3Cuthbert                                 March 20translation of Cuthbert      September 4Cyprian and Justina          September 26Daemon mutus                    3rd Sunday in Lent (after Ash Wednesday)Da pacem                               18th Sunday after octave of Pentecost (Trinity)*David                                       March 1Deus in adiutorium              12th Sunday after Octave of Pentecost (Trinity)*Deus in loco sancto                11th Sunday after Octave of Pentecost (Trinity)*Deus qui errantibus              3rd Sunday after EasterDicit dominus                        23rd and 24th Sunday after octave of Pentecost (Trinity)Dies cinerum                     Ash WednesdayDies crucis adorande       Good FridayDies Mandati                Maundy ThursdayDionysius, Rusticus, and Eleutherius                                            October 9Domine, in tua misericordia  1st Sunday after octave of Pentecost (Trinity)*Domine, ne longe            Palm SundayDominus fortitudo           6th Sunday after octave of Pentecost (Trinity)*Dominus illuminatio mea 4th Sunday after octave of Pentecost (Trinity)*Dum, clamarem                10th Sunday after octave of Pentecost (Trinity)*Epiphany                                  January 6Dum medium silentium  Sunday in octave of Christmas or Sunday after January 1 when this falls on eve of Epiphany (Jan. 6)Dunstan                                    May 19Eadburga (Winchester)        June 15Ecce deus adiuvat                   9th Sunday after octave of Pentecost (Trinity)*Editha                                       September 16Edmund (archbishop)          November 16     his  translation                 June 9Edmund (king)                       November 20      his translation                  April 29Edward the Confessor          January 5       his translation                 October 13       often called the feast of St. Edward in       the quidene of MichaelmasEdward (king of Saxons)      March 18        his translation I             February 18        his translation II           June 20Egidius (Giles)                        September 1Enurchus (Evurcius)            September 7Esto mihi                                  Sunday before Ash Wednesday (Quinquagesima)Ethelbert (king)                       May 20Ethelreda                                  October 17Euphemia                                 September 16Eustachius                                November 2Exaudi domine                        Sunday in octave of Ascension or 5th Sunday after octave of Pentecost (Trinity)*Exsurge domine                    2nd Sunday before Ash Wednesday (Sexagesima)Fabian and Sebastian          January 20Factus est dominus              2nd Sunday after octave of Pentecost (Trinity)*Faith                                          October 6Felicitas                                    November 23Fransiscus                               October 4Gaudete in domino                3rd Sunday in Advent George                                       April 23Gregory                                     March 12Grimbold                                  July 8Gule of August                        August 1Guthlac                                      April 11Hieronymous (Jerome)         September 30Hilary                                         January 13Hugh (bishop of Lincoln)      November 17Inclina auram tuam             15th Sunday after octave of Pentecost (Trinity)*In excelso throno                    1st Sunday after EpiphanyInnocents                                  December 28Invocavit me                             1st Sunday in LentIn voluntate tua                       21st Sunday after octave of Pentecost (Trinity)*Isti sunt dies                             Passion SundayJames                                          July 25Jerome (Hieronymus)          September 30John the Baptist                      June 24     his beheading                      August 29John the Evangelist               December 27      Ante Portram Latinam    May 6Jubilate omnis terra                3rd Sunday after EasterJudica me                                 Passion SundayJudoc                                          December 13Justus es domine                    17th Sunday after the octave of Pentecost (Trinity)*Lady day (annunciation)       March 25Laetare Jerusalem                 4th Sunday in LentLambert                                    September 17Lammas                                    August 1Laudus                                     September 21Laurence                                    August 10Leonard                                      November 6Lucianus and GeminianusSeptember 16Lucian                                        January 8Lucy                                            December 13Luke                                             October 18Machutus                                 November 15Margaret (queen of Scotland)    July 8Margaret (virgin and martyr)  July 20Mark                                             April 25Martin                                       November 11    His translation                     July 4Mary, Blessed Virgin                   Annunciation (Lady day)   March 25      Assumption                           August 15      Conception                            December 8      Nativity                                 September 8      Purification                         February 2      Visitation                              July 2Mary Magdalene                       July 22Mathias     February 24 (25 on leap years)Matthew                                  September 21Maurice                                  September 22Meliorus                                  October 1Memento mei                         4th Sunday in AdventMichael                               September 29    In Monte tumba            October 16Mildred                                July 13Miserere mihi                    16th Sunday after the octave of Pentecost (Trinity)*Misericordia domini          2nd Sunday after EasterName of Jesus                        August 7Nicholas                                  December 6Nicomedes                               June 1Oculi                                       3rd Sunday in LentOmnes gentes                        7th Sunday after the octave of Pentecost (Trinity)*Omnia quae fecisti               20th Sunday after the octave of Pentecost (Trinity)*Omnis terra                          2nd Sunday after EpiphanyOsanna                              Palm SundayO Sapientia                           December 16Osmund                                December 4Oswald (bishop)                    February 28Oswald (king)                        August 5Patrick                                    March 17Paul, Conversion of             January 25Perpetua                                 March 7Peter and Paul                        June 29Peter and Vincula                  August 1Philip and James                    May 1Populus Sion                          2nd Sunday in AdventPrisca                                     January 18Priscus                                   September 1Protector noster                    14th Sunday after octave of Pentecost (Trinity)*Quasimodo                            1st Sunday after EasterReddite quae sunt                 23rd Sunday after the octave of Pentecost (Trinity)*Remigius, Germanus, and Vedastus      October 1Reminiscere                        2nd Sunday in LentRespice domine                  13th Sunday after PentecostRespice in me                      3rd Sunday after the octave of Pentecost (Trinity)*Richard                                 April 3     his translation                 July 15Rorate celi                              4th Sunday in AdventSalus populi                          19th Sunday after PentecostScholastica                            February 10Si iniquitates                        22nd Sunday after the octave of  Pentecost (Trinity)*Silvester                                 December 31Simon and Jude                   October 28Sitientes                                Saturday before Passion SundayStephen                                  December 26     his invention                     August 3Suscepius deus                      8th Sunday after the octave of Pentecost (Trinity)*Swithun                                 July 2   his translation                    July 3Thomas the Apostle               December 21    his translation                       July 3Thomas Becket                        December 29    his translation                        July 7Timotheus and Symphorianus      August 22Transfiguration                        August 6Urban                                          May 25Valentine                                   February 14Vincent                                       January 22Viri Galilei                           Ascension DayVocem jucunditatis              5th Sunday after EasterWilfrid                                      October 12Wulfstan                                   January 19</text>
  1150.     </content>
  1151.     <content>
  1152.         <layer>card</layer>
  1153.         <id>1</id>
  1154.         <text>1492</text>
  1155.     </content>
  1156.     <content>
  1157.         <layer>card</layer>
  1158.         <id>5</id>
  1159.         <text>5</text>
  1160.     </content>
  1161.     <content>
  1162.         <layer>card</layer>
  1163.         <id>6</id>
  1164.         <text>1450</text>
  1165.     </content>
  1166.     <content>
  1167.         <layer>card</layer>
  1168.         <id>44</id>
  1169.         <text>This stack is intended to replace clumsy handbooks of dates for students of English history and literature. It is also accurate for European history generally, with the exception of the period 1582-1752 (for reasons I shall explain). Students of Continental history  will need to adjust a constant if they wish to date documents from this period.(Note: I am neither an experienced programmer nor a mathematician, so my solutions are a trifle inelegant. The result is that this stack is noticeably slow witted. It sometimes takes a few seconds to come up with the answers (especially on a MacPlus). But it always gets there in the end!)There are four different areas on the primary card. They operate as follows.1. Calculation of major moveable feasts.     Since the ecclesiastical calendar is based on lunar rather than solar cycles, certain key holidays (feasts) occur on different days each year. The method of calculating these feasts has also changed since the council of Nicea (325 A.D.). The button labeled "Calculate Holidays" calculates the dates of seven major feasts for the year entered in the field labeled "Year", and displays the results below this field. The only restrictions are that the number entered in the field "Year" must be an integer (no fractions) greater than zero. However, the holidays generated are only valid for dates since 325 A.D. (Early Christian and Roman dating is another story). Also, for purposes of calculation, I have assumed that the ecclesiastical year begins on January first, even though this standard was only gradually accepted. If you are working with early monastic documents you might want to consider that dates from December 25th through March may be "off" by one year.  To a Benedictine, for instance (to whom the year began on December 25th), the feast of the Innocents in 1450 would be December 28th, 1450, while to others it might be December 28th, 1449. In fact, before 1582, most calendars did not have the year begin on January 1st, even though the calculation of the moveable feasts acted as if it did.  In England, the year "began" either on December 25th, or, more frequently on March 25th (Lady Day), until 1752.  These vagaries are not something I wanted to include in the calculations, since they often varied quite a bit.  The calculations for the holidays *will* take into account the days dropped from the calendar when the "New style" was adopted, since these affect the month and day of Easter.  Conventions about the beginning of the year are easily corrected for.2. Calculation of other feasts, and Saints' days.    If a text refers to a particular Saint's day, or to a more obscure moveable holiday (perhaps the introit for the mass on given Sunday), you may search a field to find the given date.     The button labeled "Find" brings up the standard dialog box asking you for the name of the saint or the holiday. Enter the name and press Return. Hypercard will search through the field below and find the first instance of the word or phrase. If you press Return again, the program will search for the next instance, and so on. You may also scroll through the field. The entries are roughly alphabetical.     In some cases, entries refer to another holiday, usually one of the seven holidays calculated by the "Calculate Holidays" button. If, for instance, you are told that the introit "Si iniquitates" was sung on the 22nd Sunday after Pentecost, you will need to use the "Calculate Holidays" button to find the date of Pentecost for any given year. Once you know the date of Pentecost, you can use the "Days Between" calculation to find the date in question.3. Days Between Dates    This area can be used to find the number of days between two dates or to find the date occurring a certain number of days before or after a given date. Its usefulness may not be immediately apparent, but in some cases you may find that a minor holiday or religious event occurs a certain number of days before or after a major feast. Also, many Renaissance literary works have numerological aspects (it was fashionable in some circles) and the ability to rapidly calculate days between dates is useful.       The button labeled "Calculate missing number" will find the "missing" quantity that satisfies as follows. If the initial and final dates are entered, the button will find the days between. If the initial date and the days between are entered, the button will find the final date. If the final date and the days between are entered, the button will find the initial date. All fields must have numbers in them at all times.  *** To leave fields  "blank", enter  a zero.***     As in the case of the "Calculate Holidays" button, this area of the calendar assumes that the year begins on January 1st, although it does compensate for the days lost in the reformation of the Calendar.4. Old and New style dating and Day of the week    When the Pope Gregory revised the calendar in 1582, a certain number of days were omitted from the calendar at a particular time, resulting in two separate styles of dating. England persisted in using the "Old Style" until 1752, because of religious differences.  The Old Style also often dated the beginning of the year from March 25 rather than January 1, and this area of the card takes this difference into account.  Thus March 8, 1735, Old Style is really March 19, 1736 in the New Style!  Occasionally, particularly in dating material between 1582 and 1755 or so, it becomes necessary to convert back and forth.    The button called "Old to New" converts the old style date to a new style date and enters it in the "New style" fields. The button called "New to Old" converts the new style date to an old style date and enters it in the "Old style" fields.  All fields must have an integer greater than zero in them to begin with.     I have added a button that calculates the day of the week. This button uses the date in the Old style fields to calculate the day of the week. Since the day of the week was not affected by the change in calendars it doesn't really matter, but you must make sure that a new style date is converted to an old style before you push the "Calculate day of week" button.      ** Remember that this area of the card assumes that the year begins on March 25th, while the rest of the card uses January 1st. If you want to plug in dates derived from the "Calculate Holidays" button or the "Days between dates" section, be aware that you will have to subtract 1 from the year for all dates between January 1st and March 24th.  **        NOTE FOR STUDENTS OF CONTINENTAL HISTORYIf you want to work with dates in non-english texts you will have to change the constant that indicates the date at which the Gregorian calendar was accepted. At present this constant is 1752, which corresponds to the date the calendar was accepted in England. To change the constant you will need to be in hypercard's "authoring" mode. Your home card should let you change you mode. Then,1. Select the button tool from the Tools menu2. Double click on the button labeled "Calculate Holidays."3. When the dialog box comes up, click on "Script."4. When the script field opens, choose "Replace" from the Script menu and enter 1752 in the first box and whatever date is appropriate for the origins of your text in the second box (1582 for most of the Holy Roman Empire, but not for all the German states).5. Click on "Replace all"6. Close the script field., saving the changes.7. Repeat this process for the buttons labeled "Calculate missing number," "Day of Week," "Old Style to New Style," and "New Style to Old style."Acknowledgements: The formulae for calculating Easter are derived from the 11th edition Encyclopedia Brittanica.  The list of holidays is derived from The Oxford Companion to English Literature, fourth edition (1967).This stack is freeware. You may copy it or distribute it to anyone you like, but you may not sell it. If you want to receive updated versions, just let me know, and I will put your name on my list.  comments to: Ian MacInnes                             Department of English                             Wilson Hall                             University of Virginia                             Charlottesville, VA 22903                   email: ifm5u@Virginia.edu</text>
  1170.     </content>
  1171.     <content>
  1172.         <layer>card</layer>
  1173.         <id>47</id>
  1174.         <text>                 **WARNING**The English legal year and the Ecclesiastical year began on different days before 1752. If you want to find the day of the week of a holiday occurring before March 25th, remember to subtract one (1) from the ecclesiastical year.   ** Click to continue **</text>
  1175.     </content>
  1176.     <content>
  1177.         <layer>card</layer>
  1178.         <id>4</id>
  1179.         <text>3</text>
  1180.     </content>
  1181.     <content>
  1182.         <layer>card</layer>
  1183.         <id>11</id>
  1184.         <text>464</text>
  1185.     </content>
  1186.     <name>calendrical</name>
  1187.     <script>On Opencardhide menubarput 1492 into card field "Year"put 5 into card field "Startday"put 3 into card field "Startmonth"put 1450 into card field "startyear"put 8 into card field "endday"put 10 into card field "endmonth"put 1451 into card field "endyear"put 464 into card field "days between"end OpencardOn mouseuphide card field "help"hide card field "warning"End mouseup</script>
  1188. </card>
  1189.  
  1190.  
  1191.