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

NumberFormat pattern problems

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      1.2beta4
    • CPU:
      x86
    • OS:
      windows_nt
    • Verification:
      Not verified

      Description



      Name: bb33257 Date: 08/26/97


      NumberFormat (DecimalFormat, actually) has two problems with
      its patterns:

      1. There's no way to put a single quote in a formatted number.
      DecimalFormat should use the DateFormat scheme, where '' indicates
      a single quote.

      2. There's no check for consistency between the positive and
      negative patterns. "#,#00.00;-#.#" is an illegal pattern and
      should throw an exception.
      ======================================================================

        Attachments

          Activity

            People

            Assignee:
            joconnersunw John Oconner (Inactive)
            Reporter:
            bcbeck Brian Beck (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: