Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-5721

[java6][classlib][text] - add new API in DateFormatSymbols and DecimalFormatSymbols

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.0M5
    • 5.0M6
    • Classlib
    • None

    Description

      1. add java6 new methods in DateFormatSymbols and DecimalFormatSymbols:
      DateFormatSymbols: getAvailableLocales(), getInstance(), getInstance(Locale)
      DecimalFormatSymbols: getAvailableLocales(), getInstance(), getInstance(Locale), getExponentSeparator(), setExponentSeparator(String)

      2. add two java6 new classes needed by implementing new functions:
      java.text.spi.DateFormatSymbolsProvider
      java.text.spi.DecimalFormatSymbolsProvider

      all the new methods just throw NotImplementedException to hold place, implementation is on working.

      I will create patch soon.

      Attachments

        1. HARMONY-5721.diff
          10 kB
          Regis Xu

        Activity

          People

            tony.wu Tony Wu
            regis_xu Regis Xu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: