Holidays - is there a java implementation?

后端 未结 7 1662
野的像风
野的像风 2020-12-08 12:50

I\'d like to know if there is a jar-file out there that could do the following:

DateMidnight dateInQuestion = new DateMidnight(12,12,2000);
DateChecker.isNat         


        
7条回答
  •  北海茫月
    2020-12-08 13:24

    My searching has brought up two results (in addition to what I listed in the comments). The first, the Holiday Client API, seems to be a dead project. The second, Jollyday, looks like a very rough, but active, work in progress.

    As for why there is no good library, I'm with Tom. I suspect that your premise "Surely there are lots of properly based rules for the holidays in 99% of the times" is incorrect.

提交回复
热议问题