Subclasses of java.util.Calendar are available for commercial use - i.e. IslamicCalendar

I am looking for some subclasses of the Java calendar class, preferably an implementation of the hijri calendar (Islamic), but will potentially require more. Does anyone know a library available for commercial use?

I found the IBM ICU library ( here ), however they do not extend java.util.Calendar and instead wrote their own class, which also answers user classes; UDate and ULocale . I'm trying to use an existing Java application that already has over 400 Calendar usages, so I ideally want to stick with this class. Any suggestions?

Thanks in advance.

+5
source share
2 answers

As usual with all date API questions, the answer is used by Joda , if possible, if not, make it possible.

I also fear the IBM Date classes, they created the current Java Date API and, although this is a big place, this implementation does not bode well for other sentences.

+5
source

Wrap icu4j classes inside your own calendar implementation.

+1
source

Source: https://habr.com/ru/post/894430/


All Articles