Bahman,
there has been a very powerful calendar/time library called Chronos. It
was initially written for VisualWorks, but IIRC was also ported to
Squeak and Pharo.
The project's home page is not working any more (links to some arabic
stuff which I can't read), but you can start research here:
http://chronos-st.blogspot.de
I am not sure it supports Jalali, but it's very likely it gives you all
that's needed to implement it on top of Chronos.
HTH
Joachim
Am 25.06.13 18:16, schrieb Bahman Movaqar:
Hi all,
In Iran we use a calendar different from Gergorian and Islamic
calendars; it's called Jalali calendar[1]. The people in Afghanistan
use the same calendar but with different month names.
So, I was wondering how can I implement this calendar in Pharo? I've
already done the conversion routines in Python[2] but that is nowhere
near a real calendar. What I have in mind is a subclass (?) of `Date`
which seamlessly supports all `Date` operations but using a different
calendar system.
I'd appreciate any hits/pointers.
TIA,