Package com.ibm.icu.util
Class IslamicCalendar.TBLAAlgorithm
- java.lang.Object
-
- com.ibm.icu.util.IslamicCalendar.CivilAlgorithm
-
- com.ibm.icu.util.IslamicCalendar.TBLAAlgorithm
-
- All Implemented Interfaces:
IslamicCalendar.Algorithm
- Enclosing class:
- IslamicCalendar
private static class IslamicCalendar.TBLAAlgorithm extends IslamicCalendar.CivilAlgorithm
Algorithm which implement the rules for CalculationType.ISLAMIC_TBLA. Mostly the same as CivilAlgorithm, except it return false for isCivil and use different epoch value.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
TBLAAlgorithm()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
epoch()
Return the epoch used by this algorithm.IslamicCalendar.CalculationType
getType()
Return the type the algorithm implement.boolean
isCivil()
Returnstrue
if this object is using the fixed-cycle civil calendar, orfalse
if using the religious, astronomical calendar.-
Methods inherited from class com.ibm.icu.util.IslamicCalendar.CivilAlgorithm
compute, monthLength, monthStart, yearLength, yearStart
-
-
-
-
Method Detail
-
isCivil
public boolean isCivil()
Description copied from interface:IslamicCalendar.Algorithm
Returnstrue
if this object is using the fixed-cycle civil calendar, orfalse
if using the religious, astronomical calendar.- Specified by:
isCivil
in interfaceIslamicCalendar.Algorithm
- Overrides:
isCivil
in classIslamicCalendar.CivilAlgorithm
-
getType
public IslamicCalendar.CalculationType getType()
Description copied from interface:IslamicCalendar.Algorithm
Return the type the algorithm implement.- Specified by:
getType
in interfaceIslamicCalendar.Algorithm
- Overrides:
getType
in classIslamicCalendar.CivilAlgorithm
-
epoch
public long epoch()
Description copied from interface:IslamicCalendar.Algorithm
Return the epoch used by this algorithm.- Specified by:
epoch
in interfaceIslamicCalendar.Algorithm
- Overrides:
epoch
in classIslamicCalendar.CivilAlgorithm
-
-