Class IslamicCalendar.IslamicAlgorithm

java.lang.Object
com.ibm.icu.util.IslamicCalendar.IslamicAlgorithm
All Implemented Interfaces:
IslamicCalendar.Algorithm
Enclosing class:
IslamicCalendar

private static class IslamicCalendar.IslamicAlgorithm extends Object implements IslamicCalendar.Algorithm
Algorithm which implement the rules for CalculationType.ISLAMIC.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    compute(long julianDays, long current, IntConsumer yearConsumer, IntConsumer monthConsumer, IntConsumer dayOfMonthConsumer, IntConsumer dayOfYearConsumer)
    Compute the year, month, dayOfMonth, and dayOfYear of the given julian days and current time and feed the caculuated results to the consumers.
    long
    Return the epoch used by this algorithm.
    Return the type the algorithm implement.
    boolean
    Returns true if this object is using the fixed-cycle civil calendar, or false if using the religious, astronomical calendar.
    int
    monthLength(int year, int month)
    Return the length (in days) of the given month.
    long
    monthStart(int year, int month)
    Return the day # on which the given month starts.
    int
    yearLength(int year)
    Return the length (in days) of the given year.
    long
    yearStart(int year)
    Return the day # on which the given year starts.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • IslamicAlgorithm

      private IslamicAlgorithm()
  • Method Details