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

(cal) Provide Gregorian-only calendar as a Calendar subclass

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P3 P3
    • None
    • 5.0
    • core-libs

      GregorianCalendar is supposed to be able to support any Gregorian cutover dates (from Long.MIN_VALUE to Long.MAX_VALUE). However, there is a "gap" or "overlap" between the last date in Julian and the first day in Gregorian. Support of such "gap" is very expensive at run-time. Also it requires a way to specify a calendar system to disambiguate the given date if there's an "overlap", which can't be done by the Calendar API. But correct Gregorian change support doesn't matter for most applications.

      J2SE should provide a Gregorian-only implementation as a Calendar subclass and factory methods to Calendar to get an instance.
      ###@###.### 2003-09-30

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: