RFE: java.text.DateFormat needs "time duration" instance

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Won't Fix
    • Priority: P4
    • None
    • Affects Version/s: 1.1.5
    • Component/s: core-libs
    • x86
    • windows_95



      Name: rm29839 Date: 01/28/98


      I need to parse/format time durations, like
      10 hours, 6 minutes, 23 seconds into an
      integer, i.e. the number of milliseconds,
      in a locale-aware way.

      For the US English Locale, for example,
      123:04:20 should be 123 hours + 4 minutes
      + 20 seconds. Other locales user different
      separators and/or ordering.

      The current DateFormat is not appropriate for
      this. A Date is a specific instance in time.
      How would one parse "12-Jun-98 10:32 AM" into
      a time duration?
      (Review ID: 23685)
      ======================================================================

            Assignee:
            Alan Liu (Inactive)
            Reporter:
            Ronan Mandel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: