View Single Post
Old 07-16-2011, 03:32 PM   #429
BenChen
EPUB Metadata ******
BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.
 
Posts: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
Quote:
Originally Posted by Mark Nord View Post
A question to Calendar:
Are the floating holidays, tied to the easter-date also supported?
(e.g. Pentecost)
Well, there is a special function to handle easter. I think it would be easy enough to copy the easter function and modify to obtain other dates tied to easter. But you would probably need a separate function for each date, and a separate "code".

All the special events have a code: "C" for Christmas, "B" for birthday, "E" for easter, "V" for Valentine's Day, etc. Repeating yearly events are coded with "Y", monthly events with "M" and weekly events with "W". There is also "F" for floating (which can handle things like Thanksgiving.) I have already been asked to add "Wedding/Anniversary" and "RIP". There is a limit to how much we can add without needing to change the event data-structure completely. (I guess that isn't out of the question, but I think I was hoping to avoid it!)


Actually, I should probably add Thanksgiving to the default set of events so as to model a Floating holiday... Something for tomorrow...

Sincerely,
Ben.
BenChen is offline   Reply With Quote