Page 1 of 1

[i18n Package] Please test these calendars

PostPosted: December 27th, 2010, 12:48 am
by Kambiz
So far, I have implemented the following calendars for the i18n package:

  • Julian Calendar
  • Gregorian Calendar
  • Persian Calendar
  • Hebrew/Jewish Calendar
  • Hijri/Islamic Calendar
  • Thai Calendar
  • Korean Tangun Era Calendar
  • Taiwan Calendar
  • Japanese Emperor Era Calendar
But I don't have enough knowledge to test these calendars.

As the attachment, you will find a sample application that uses IntlMonthCalendar control of the i18n package to show these calendars in action.
I would be thankful if you can help me to verify these calendars.

By the way, if you know the algorithm for converting "Umm Al-Qura" calendar to Julian day and vice versa, please share it with me. I really confused about this calendar.

Re: [i18n Package] Please test these calendars

PostPosted: January 13th, 2011, 10:34 am
by Lolo
Hello Kambiz,

The last year, I began researching calendrical calculations. I've found a very nice book on Amazon :

"Calendrical calculations" third edition
from Dershowitz and Reingold
Cambridge Edition

I suppose you don't have this reference because at the end of this book, you would find in Appendix C, sample data of 33 dates from years -1000 to 2100 with their equivalents on all calendars discussed in this book.

Would you like to see this table ?

Re: [i18n Package] Please test these calendars

PostPosted: January 13th, 2011, 11:20 am
by Kambiz
I don't have the book and I can't have it.
It would be nice to have the table for verifying the calendars.

Thank you!

Re: [i18n Package] Please test these calendars

PostPosted: January 13th, 2011, 2:18 pm
by Lolo
Under attachment, you'll find the sample data from this book. Maybe, it could be interresting to support DUnit under this package.
You will also find on this following link, some very usefull information about authors and their works.

http://www.calendarists.com

Another link very usefull, is the code source (in Lisp) related to this book.

http://www.cambridge.org/us/9780521702386

I hope this information will help you

Re: [i18n Package] Please test these calendars

PostPosted: January 13th, 2011, 9:42 pm
by Kambiz
Thank you very much!