Doc: Date.getTimezoneOffset description errors

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P5
    • 1.4.2
    • Affects Version/s: 1.4.0
    • Component/s: core-libs
    • mantis
    • generic
    • generic

      The replacement should be:

      -(Calendar.get(Calendar.ZONE_OFFSET) + Calendar.get(DST_OFFSET))/60000


      The second example date (Date(96, 5, 1)) is June 1, 1996, not May 1, 1996.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: