Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Java API for swing for holidays dates in hindu calendar of any year

Is there any Java API for Swing which will help me to give all holidays dates in Hindu calendar of any year ?

Requirements:

  • API should be open source or free.
like image 721
Mayur Jain Avatar asked Nov 29 '12 10:11

Mayur Jain


1 Answers

By far the easiest would be to download a public calendar containing all hindu holidays. You can surely find this on Google. Export the calendar as an iCalendar file.

Then, use iCal4j to parse this file and recover all dates required. http://ical4j.sourceforge.net/introduction.html

Surely, you do not need all mathematical rules for determining hindi holidays implemented until the year 3000?

like image 66
parasietje Avatar answered Oct 21 '22 19:10

parasietje