NOTICE: for the time bieng we are at http://code.google.com/p/persian-calendar/
a light-weight and easy to use Persian Calendar system (known as jalali or shamsi) for JDK.
algorithms for converting Julian days to the Persian calendar, and vice versa are adopted
from "casema.nl/couprie/calmath/persian/index.html" written entirely in VB.
The algorithms is not exactly the same as the original.
I've done some minor changes in the sake of performances and
corrected some bugs.
By Extending GregorianCalendar PersianCalendar supports:
Converting Gregorian to Persian Calendar system and vice versa.
...
Tpl makes it easy to serialize your C data using just a handful of API functions. The data is stored in its native binary form for maximum efficiency. C, Perl and XML supported. Data is portable across CPU types and OS's from Unix to Mac to Windows.