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

(cal) Support calendar type identification

XMLWordPrintable

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

      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/

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: