[i18n Package] Please test these calendars

Please post bug reports, feature requests, or any question regarding the DELPHI AREA products here.

[i18n Package] Please test these calendars

Postby Kambiz » December 27th, 2010, 12:48 am

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.
Attachments
CalendarTest.zip
i18n Package Calendars
(716.3 KiB) Downloaded 113 times
Last edited by Kambiz on February 23rd, 2011, 3:34 pm, edited 2 times in total.
Reason: Updated the attachment; Fixed the bug in Hebrew calendar.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2408
Joined: March 7th, 2003, 7:10 pm

Re: [i18n Package] Please test these calendars

Postby Lolo » January 13th, 2011, 10:34 am

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 ?
User avatar
Lolo
Member
Member
 
Posts: 4
Joined: January 5th, 2011, 12:36 pm

Re: [i18n Package] Please test these calendars

Postby Kambiz » January 13th, 2011, 11:20 am

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!
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2408
Joined: March 7th, 2003, 7:10 pm

Re: [i18n Package] Please test these calendars

Postby Lolo » January 13th, 2011, 2:18 pm

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
Attachments
CalendricalCalculationsAppendixCSampleData.pdf
(955.57 KiB) Downloaded 64 times
User avatar
Lolo
Member
Member
 
Posts: 4
Joined: January 5th, 2011, 12:36 pm

Re: [i18n Package] Please test these calendars

Postby Kambiz » January 13th, 2011, 9:42 pm

Thank you very much!
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2408
Joined: March 7th, 2003, 7:10 pm


Return to DELPHI AREA Products

Who is online

Users browsing this forum: Bing [Bot] and 2 guests

cron