RFE: Locale parsing results should be cached in DateFormat

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 1.4.0
    • Affects Version/s: 1.2.0
    • Component/s: core-libs
    • beta
    • generic
    • generic



      Name: vi73552 Date: 06/24/99


      The DateFormat.getDateInstance() takes VERY long. This is, because you parse the whole Locale with its NumberFormats every time again.
      You should try to buffer this in some way, especially, because
      usually only one Locale is used.
      We already use static DateFormats as often as possible, but it is
      still to slow, and also we get problems with Multi-Threading.
      (Review ID: 84773)
      ======================================================================

            Assignee:
            Yuka Kamiya (Inactive)
            Reporter:
            Vassili Igouchkine (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: