How can I use Java util. Calendar returns to the Islamic calendar?
•
Java
I know Java util. The calendar class method getInstance () returns a Gregorian calendar, but how can I get an Islamic calendar?
Solution
There are no built - in functions in the API
You will have to inherit the calendar class to do this, or you can see what people have written and whether it suits you
IBM has an implementation of Hijri calendar
There is also an approximate. Com provided by joda time
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码