Package net.time4j.calendar.hindu
Class HinduPrimitive
java.lang.Object
net.time4j.calendar.hindu.HinduPrimitive
- Direct Known Subclasses:
HinduDay
,HinduMonth
Abstract super class of Hindu months or days which can carry a leap status in the lunisolar variants of the Hindu calendar.
- Since:
- 5.6
- Author:
- Meno Hochschild
-
Field Summary
Modifier and TypeFieldDescriptionstatic AttributeKey<Character>
Format attribute which defines a symbol character for leap months or leap days.static AttributeKey<Boolean>
Format attribute which defines if the symbol character for leap months or leap days should be printed after the element (default isfalse
for most languages). -
Method Summary
Modifier and TypeMethodDescriptionabstract boolean
isLeap()
Determines if this value primitive is in leap state (intercalated).
-
Field Details
-
ADHIKA_INDICATOR
Format attribute which defines a symbol character for leap months or leap days.
This format attribute is mainly used in numerical formatting or when months shall be printed in an abbreviated style. Otherwise the localized word for "adhika" will be printed.
-
ADHIKA_IS_TRAILING
Format attribute which defines if the symbol character for leap months or leap days should be printed after the element (default is
false
for most languages).
-
-
Method Details
-
isLeap
public abstract boolean isLeap()Determines if this value primitive is in leap state (intercalated).
- Returns:
- boolean
-