JodaOrg / joda-time

Joda-Time is the widely used replacement for the Java date and time classes prior to Java SE 8.
http://www.joda.org/joda-time/
Apache License 2.0
4.97k stars 965 forks source link

PersianChronology #435

Closed mjal146 closed 7 years ago

mjal146 commented 7 years ago

Do you intend to add and support the Persian calendar?

jodastephen commented 6 years ago

For anyone reaching this via Google, I have no plans to add the Persian calendar.

sindoc commented 6 years ago

Looks like something @zubinkavarana could help with, starting with a pull request? http://zubinkavarana.github.io/joda-time/ https://github.com/zubinkavarana/joda-time/

He seems to already have forked Joda Time to add the Persian chronology.

zubinkavarana commented 6 years ago

I can only advise in general terms at this time -

  1. Use the formula specified at Borkowski paper
  2. Write your own chronology and deploy it separately in another library jar alongside the main joda one. You can use the repo above to see how it was done
  3. Make sure all the tests pass

Best wishes

mohamadian commented 6 years ago

You can use this library: https://github.com/mohamadian/PersianJodaTime

it is based on JodaTime and zubinkavarana/JodaTime.

mjal146 commented 6 years ago

thanks a lot

On Sunday, October 29, 2017, 7:05:46 PM GMT+3:30, Mahdi Mohamadian <notifications@github.com> wrote:  

You can use this library: https://github.com/mohamadian/PersianJodaTime

it is based on JodaTime and zubinkavarana/JodaTime.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub, or mute the thread.