[jira] Reopened: (CONFIGURATION-261) Add support for date objects in PropertyListConfiguration

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] Reopened: (CONFIGURATION-261) Add support for date objects in PropertyListConfiguration

JIRA jira@apache.org

     [ https://issues.apache.org/jira/browse/CONFIGURATION-261?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oliver Heger reopened CONFIGURATION-261:
----------------------------------------

      Assignee: Oliver Heger

The feature as it is implemented now does not work on Java 1.3. In this version SimpleDateFormat (which is used for parsing date fields) does not support the 'Z' literal for specifying TimeZone values, so parsing of dates fails with an exception.

I think I will implement the parsing and formatting of date values by hand. Using a static instance of SimpleDateFormat for this purpose is problematic anyway because this class is not thread-safe.

> Add support for date objects in PropertyListConfiguration
> ---------------------------------------------------------
>
>                 Key: CONFIGURATION-261
>                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-261
>             Project: Commons Configuration
>          Issue Type: Improvement
>            Reporter: Emmanuel Bourg
>            Assignee: Oliver Heger
>             Fix For: 1.5
>
>
> PropertyListConfiguration could implement the GNUStep extension for the property list format to support date objects. A date is formatted like this :
>     <*D2002-03-22 11:30:00 +0100>
> See http://www.gnustep.org/resources/documentation/Developer/Base/Reference/NSPropertyList.html

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.