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

NumberFormat pattern problems

XMLWordPrintable

    • 1.2beta4
    • x86
    • windows_nt
    • Not verified



      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.
      ======================================================================

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: