public final class Tabot extends Object implements Comparable<Tabot>
| Modifier and Type | Method and Description |
|---|---|
static List<Tabot> |
asList()
Returns an immutable list of all available tabots.
|
int |
compareTo(Tabot other) |
boolean |
equals(Object obj) |
int |
getDayOfMonth()
Yields the associated day-of-month.
|
String |
getDisplayName(Locale locale)
Determines either an Amharic translation of this instance or a latin transscription.
|
int |
hashCode() |
static Tabot |
of(int dayOfMonth)
Yields an instance for given day of month.
|
String |
toString() |
public static List<Tabot> asList()
Returns an immutable list of all available tabots.
public static Tabot of(int dayOfMonth)
Yields an instance for given day of month.
dayOfMonth - tabot index in range 1-30TabotIllegalArgumentException - if the argument is out of range 1-30public int getDayOfMonth()
Yields the associated day-of-month.
public String getDisplayName(Locale locale)
Determines either an Amharic translation of this instance or a latin transscription.
locale - language settingnull)public int compareTo(Tabot other)
compareTo in interface Comparable<Tabot>Copyright © 2014–2021. All rights reserved.