[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-pim
Subject:    Re: [Kde-pim] Q: holiday with lunar calendar
From:       Ferdinand Gassauer <gassauer () kde ! org>
Date:       2002-02-18 7:10:03
[Download RAW message or body]

On Sunday 17 February 2002 11:23, Cornelius Schumacher wrote:
> On Sunday 17 February 2002 04:18, Ping Yeh wrote:
> >    Here in Taiwan we are celebrating the Chinese New Year
> > right now (a 9-day holiday this time).  I thought: how nice
> > would it be if I could input the holiday dates into kOrganizer!
>
> This would be really great.
>
> >    I don't know if such an algorithm is already in kOrganizer.
> > If yes, how to input the holiday file?
>
> KOrganizer 3.0 has a plugin interface, which makes it quite easy to add
> algorithm-based holidays. You just have to write a function, which
> takes a date as parameter and returns the name of the holiday. Putting
> this into the framework of a Korganizer plugin is trivial. I could do
> this for you, if you send me the code for the function calculating the
> holidays.
>
> There were several questions about other holidays based on the lunar
> calendar. Perhaps we could even share some code. Are there any
> volunteers with coding experience, which would like to help with
> implementing these holiday functions?
even christian holidays follow the moon!

 ' Easter Sunday is the Sunday following the Paschal Full Moon (PFM) date 
 ' for the year
see
http://www.smart.net/~mmontes/ec-cal.html
http://www.adelaide.net.au/~dbenn/ECMAScript/EasterDate.html


-- 
cu
ferdinand
on SuSE 7.0 KDE 2.2.2
_______________________________________________
kde-pim mailing list
kde-pim@mail.kde.org
http://mail.kde.org/mailman/listinfo/kde-pim
kde-pim home page at http://pim.kde.org/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic