Package net.time4j.calendar
Class Tabot
java.lang.Object
net.time4j.calendar.Tabot
- All Implemented Interfaces:
Comparable<Tabot>
Used in Ethiopian calendar for associating the day of month with a name.
- Since:
- 3.11/4.8
- Author:
- Meno Hochschild
-
Method Summary
Modifier and TypeMethodDescriptionasList()Returns an immutable list of all available tabots.intbooleanintYields the associated day-of-month.getDisplayName(Locale locale)Determines either an Amharic translation of this instance or a latin transscription.inthashCode()static Tabotof(int dayOfMonth)Yields an instance for given day of month.toString()
-
Method Details
-
asList
Returns an immutable list of all available tabots.
- Returns:
- unmodifiable list of available tabots
- Since:
- 3.11/4.8
-
of
Yields an instance for given day of month.
- Parameters:
dayOfMonth- tabot index in range 1-30- Returns:
- cached
Tabot - Throws:
IllegalArgumentException- if the argument is out of range 1-30- Since:
- 3.11/4.8
-
getDayOfMonth
public int getDayOfMonth()Yields the associated day-of-month.
- Returns:
- int
- Since:
- 3.11/4.8
-
getDisplayName
Determines either an Amharic translation of this instance or a latin transscription.
- Parameters:
locale- language setting- Returns:
- descriptive text (never
null) - Since:
- 3.11/4.8
-
compareTo
- Specified by:
compareToin interfaceComparable<Tabot>
-
equals
-
hashCode
public int hashCode() -
toString
-