public enum CopticEra extends Enum<CopticEra> implements CalendarEra
The Coptic calendar only supports one single era called "Anno Martyrum" with the
numerical value 1 which is sometimes also called "Diocletian era" and starts
on Julian date AD-284-08-29.
| Enum Constant and Description |
|---|
ANNO_MARTYRUM
Called after the victims of persecutions against Christians by the Roman emperator Diocletian
(often abbreviated as "A.M.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayName(Locale locale)
Equivalent to the expression
getDisplayName(locale, TextWidth.WIDE). |
String |
getDisplayName(Locale locale,
TextWidth width)
Gets the description text dependent on the locale and style parameters.
|
static CopticEra |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CopticEra[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOfnamepublic static final CopticEra ANNO_MARTYRUM
public static CopticEra[] values()
for (CopticEra c : CopticEra.values()) System.out.println(c);
public static CopticEra valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getDisplayName(Locale locale)
Equivalent to the expression getDisplayName(locale, TextWidth.WIDE).
locale - language settingnull)getDisplayName(Locale, TextWidth)public String getDisplayName(Locale locale, TextWidth width)
Gets the description text dependent on the locale and style parameters.
The second argument controls the width of description.
locale - language settingwidth - text widthnull)Copyright © 2014–2021. All rights reserved.