What is the difference between NSIslamicCalendar and NSIslamicCivilCalendar?
相关问题
- CALayer - backgroundColor flipped?
- Core Data lightweight migration crashes after App
- How can I implement password recovery in an iPhone
- how do you prevent page scroll in textarea on mobi
- Custom UITableview cell accessibility not working
相关文章
- Could I create “Call” button in HTML 5 IPhone appl
- Unable to process app at this time due to a genera
- How do you detect key up / key down events from a
- “Storyboard.storyboard” could not be opened
- MYSQL: How can I find 'last monday's date&
- Open iOS 11 Files app via URL Scheme or some other
- Calculate number of working days in a month [dupli
- Can keyboard of type UIKeyboardTypeNamePhonePad be
The only thing that I could understand from documentations is that the Islamic one is a religious/astronomical calendar while the Islamic-civil is a fixed-cycle civil calendar.
For more information see the below link:
http://icu-project.org/apiref/icu4j/com/ibm/icu/util/IslamicCalendar.html
The civil Hajiri calendar is predictable. You can know, today, how many days will elapse before the first day of the next month. This is not true for the religious calendar. It is based on being able to observe the new moon. No visible new moon means the new month has not started. Computers and coders cannot deal with that very well.
Since you are coding, if you need future dates, you will have to use the civil calendar.