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

(cal) BuddhistCalendar problems

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P5
    • Resolution: Won't Fix
    • Affects Version/s: 1.4.0, 1.4.2, 5.0
    • Fix Version/s: None
    • Component/s: core-libs
    • Subcomponent:
    • CPU:
      generic, x86
    • OS:
      generic, linux, windows_xp

      Description

      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: