Annotation Interface CalendarType


@Documented @Target(TYPE) @Retention(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.

Author:
Meno Hochschild
See Also:
ChronoEntity
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Determines the reference name for all text resources of a calendar system.
  • Element Details

    • value

      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".

      Returns:
      reference name for calendar specific text resources (usually a name according to CLDR standard)