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

RFE: Add ability to use SpinnerDateModel with different TimeZones and Locales

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • 6u11
    • client-libs

      J2SE Version (please include all output from java -version flag):
      java version "1.6.0_11"
      Java(TM) SE Runtime Environment (build 1.6.0_11-b03)
      Java HotSpot(TM) Client VM (build 11.0-b16, mixed mode, sharing)

      Does this problem occur on J2SE 5.0.x or 6.0? Yes / No (pick one)
      Yes

      Operating System Configuration Information (be specific):
      Client: Microsoft Windows XP [Version 5.1.2600]

      Bug Description:
      RFE: Add ability to use SpinnerDateModel with different TimeZones and Locales

      Currently SpinnerDateModel calls Calendar.getInstance() to create its Calendars.
      We need to be able to specify a different TimeZone and Locale than the defaults returned by TimeZone.getDefault() and Locale.getDefault(), to be used when getting the Calendar instance.
      Note our users can use one Locale for Currencies and another for Dates so changing the Default Locale is not a viable solution for us.

            Unassigned Unassigned
            tyao Ting-Yun Ingrid Yao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: