It sounds like the Persian calendar is closer to the Gregorian calendar. Try working from the GregorianChronology which extends BasicGJChronology instead. That provides functionality for leap years and 30/31 day months.
Stephen On 24/03/2008, sinto jose <[EMAIL PROTECTED]> wrote: > > Thank you sir for your quick response. Yesterday > I started the analyzing of Islamic Chronology. When I tried to change the > field private static final long MILLIS_YEAR_1 to -41229561600000L then the > year, month and day is coming properly for the current date. But it is not > enough for the full implementation because the year 354,355 in Islamic is > 365,366 in Persian and leap year structure is different and also the month > structure is different. > Month Structure in Persian :- First 6 months 31 days, next 5 months 30 days, > last month is 29 or 30 according to leap year. > I need the main functionalities like dateTime.getDayOfMonth(), > dateTime.getMonthOfYear(),dateTime.getYear(). also the leap year checking. > Can you give me some suggestion for the further implementation of the > PersianChronology? > > Thanks and regards > Sinto > > ________________________________ > Now you can chat without downloading messenger. Click here to know how. > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Joda-interest mailing list > Joda-interest@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/joda-interest > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Joda-interest mailing list Joda-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/joda-interest