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

RFE: Locale parsing results should be cached in DateFormat

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.2.0
    • 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)
      ======================================================================

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: