Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7151414

(cal) Support calendar type identification

    XMLWordPrintable

Details

    • Enhancement
    • Status: Closed
    • P3
    • Resolution: Fixed
    • 7
    • 8
    • core-libs
    • b55
    • generic
    • generic
    • Verified

    Description

      Thai Buddhist calendar and Japanese imperial calendar systems were added in 1.4 and 1.6, respectively. However, there's no public way to identify those non-Gregorian calendars. You need to rely on a Locale with which a Calendar object has been created. There should be a method to get calendar system identification.

      Unicode LDML (Locale Data Markup Language) defines identifiers for calendar types. Java SE should use the same identifiers.

      http://unicode.org/reports/tr35/

      Attachments

        Issue Links

          Activity

            People

              okutsu Masayoshi Okutsu
              okutsu Masayoshi Okutsu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: