This project provides a JalaliCalendar class that extends the Java Calendar class. You can convert jalali to gregorian calendar and vice-versa with the JalaliUtil class too.
For start, you should add the following dependency to your pom:
<dependency>
<groupId>com.tosan.tools</groupId>
<artifactId>jalali-calendar</artifactId>
<version>latest-version</version>
</dependency>
This Library requires java version 8 or above.
Any contribution is greatly appreciated.
If you have a suggestion that would make this project better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".
The source files in this repository are available under the Apache License Version 2.0.