2005-03-07
Iran Books House
This is one of the few really useful Iranian sites. I really enjoy using it. You can search data of all published books in iran in this site.
# Posted at 16:57 by Ghasem (1 comments)
|
Ghasem Kiani's Weblog Notes about science, literature, society, and arts |
2005-03-07Iran Books HouseThis is one of the few really useful Iranian sites. I really enjoy using it. You can search data of all published books in iran in this site. # Posted at 16:57 by Ghasem (1 comments) ICU4J-based Implementation of the Persian Calendar IBM's International Components for Unicode (Java version) or ICU4J enhances the I18n capabilities of Java in many ways. Since it is based on the Common Locale Data Repository (CLDR), it is especially useful for Persian-language applications (noting that the support for Persian is rudimentary in Java's native locales). But there is another important reason for using ICU4J for implementing a Persian calendar: The newer releases of ICU4J have reworked the calendar framework, so that, contrary to the Calendar class in the The version 2.0 of my prersiancalendar Java program contains an implementation of the Persian calendar based on ICU4J, version 3.2. It formats and parses dates for many locales besides Persian. A new update will be released in the near future, containing a bug fix for the One important note is indispensable here: I have used an arithmetic algorithm for calculation of the leap years, which was apparently devised by the late Ahmad Birashk. Although this algorithm is valid for many hundreds of years, the formal definition of the Persian calendar is astronomical. To implement the calendar astronomically, we must be able to calculate the accurate time of the vernal equinox (the time when the solar longitude is 0). The current version of the class I would like to thank Mr. Paul Hastings from Sustainable GIS Co. for his valuable suggestions and contributions. He has added the new Persian calendar to their calendar test bed. He has also promised to provide me with a Thai localization of the Persian month names, which will be a great enhancement to this program. # Posted at 01:10 by Ghasem (1 comments) |
|
| Home | Archive |
| Copyright © 2003-2006, Ghasem Kiani |