API: GregorianCalendar.isLeapYear() returns a wrong value on BC 1 and AD 4

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: P4
    • None
    • Affects Version/s: 1.3.0
    • Component/s: core-libs

      The GregorianCalendar.isLeapYear() returns true if AD 0 (==BC 1) or AD 4 is given. But both are non-leap years.

      Also, the API doc must clarify that the parameter `year' is assumed to be in AD.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: