add common-lang DateUtils.parseDate to list of things TemporalAttribute uses to 
parse possible dates
----------------------------------------------------------------------------------------------------

                 Key: GEOT-1302
                 URL: http://jira.codehaus.org/browse/GEOT-1302
             Project: GeoTools
          Issue Type: Improvement
          Components: core feature
            Reporter: Ian Turton
            Priority: Minor
             Fix For: 2.4-M4


Currently if you try to parse a string like 2003/1/10 into a date attribute 
geotools fails with an IllegalArgumentException: unable to parse 2003/1/10 as 
Date. 

If instead of using java.text.DateFormat as our converter of last resort in 
TemporalAttribute we used DateUtils.parseDate() from commons-lang (which we 
already depend on) which takes an array of possible formats we might do a much 
better job of dealing with dates.



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to