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

(cal) BuddhistCalendar problems

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P5 P5
    • None
    • 1.4.0, 1.4.2, 5.0
    • core-libs
    • generic, x86
    • generic, linux, windows_xp

      The current BuddhistCalendar implementation has the following problems (known limitations).

        - Era isn't correct on any dates before Julian A.D. 1.

        - Dates are incorrect on any dates before Julian A.D. 1.

        - BuddhistCalendar uses the default Julian-Gregorian cutover of
          GregorianCalendar which doesn't make sense in Thailand.

        - Chantrakati is not supported (before B.E. 2431). If the Chantrakati
          calendar system is supported, methods such as get*Maximum will be
          affected because, for example, leap months are applicable in
          Chantrakati.

        - Gregorian was adopted in B.E. 2431. However, the first day of a year
          is April 1.

        - The first day of a year changed to January 1 from B.E. 2483.

        - In B.E. 2431 and 2483, the year has only 9 months. get*Minimum/Maximum
          must return the correct values based on the short years.
          getLeastMaximum must always return the correct value (not only in
          B.E. 2431 and 2483).

      ###@###.### 2003-03-17

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: