KCalendarSystemChinese - calendar for Chinese in KDE 4

Allen Winter winter at kde.org
Sun Dec 30 14:53:21 GMT 2007

On Thursday 27 December 2007 08:58:40 Liang Qi wrote:
> Hi,
> I found trunk/KDE/kdepim/libkholidays/lunarphase.h, lunarphase.cpp. It
> maybe has some relations with Lunar things.
> I need to read more on both parts. Maybe some of you can give me some hints.
I "borrowed" almost all of the lunarphase code from a very old C program called 'pom'.
And 'pom' "borrowed" its code from a book called `Practical Astronomy with Your Calculator',
which was probably written in Fortran.

Somewhere along the way, the path from Fortran to C++ didn't work so well and
the net result is that the lunarphase code is buggy.  And I haven't had a chance
to go back and fix it.  Nothing in KDE or KDEPIM is using lunarphase.

IOW: please don't use lunarphase in its current state.  Or, better yet, help me fix it.
You'll find test code in kdepim/libkholiday/tests

I tried ripping some code of out KStars once, but found that too difficult... not
being an astronomer and all :)

There are a few (simple?) astronomical tools that would really help calendaring.
Like: lunar phases; solstices; equinoxes;  I started some of this in kdepim/libkholidays.
If we can make these work, I'd like to see them in KCalendarFoo in KDE4.1.

I think this is a fun little project, but I just don't have the time to work on it.


More information about the kde-core-devel mailing list