@Documented
@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface CalendarType
This Annotation can be used to mark all types of ChronoEntity
which need formatted representations and access to text resources dependent on
a calendar system.
ChronoEntity| Modifier and Type | Required Element and Description |
|---|---|
java.lang.String |
value
Determines the reference name for all text resources of a
calendar system.
|
public abstract java.lang.String value
Determines the reference name for all text resources of a calendar system.
The name must not be unique, but has to be in agreement to the conventions defined in CLDR if it exists there. The motivation of the name is a localized access to calendar specific texts of eras, months, quarters, weekdays and AM/PM. The CLDR file calendar.xml defines both names and aliases. Alias names should be preferred in most cases. ISO systems usually use the name "iso8601".