You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Stephen Colebourne (JIRA)" <ji...@apache.org> on 2006/05/20 00:31:30 UTC

[jira] Commented: (LANG-165) [lang] parseDate with TimeZone

    [ http://issues.apache.org/jira/browse/LANG-165?page=comments#action_12412599 ] 

Stephen Colebourne commented on LANG-165:
-----------------------------------------

Not sure what you mean by hacky. Where do you see the issue?

The new method would just create the parser, set the zone on it, and then do the parse.


> [lang] parseDate with TimeZone
> ------------------------------
>
>          Key: LANG-165
>          URL: http://issues.apache.org/jira/browse/LANG-165
>      Project: Commons Lang
>         Type: Improvement

>     Versions: 2.1
>  Environment: Operating System: All
> Platform: All
>     Reporter: Bill Boland
>     Priority: Minor
>      Fix For: 2.2

>
> I needed the ability to user a function like the 
> org.apache.commons.lang.time.DateUtils.parseDate function but I needed to 
> consider a different time zone when parsing the dates (assuming the format did 
> not have the time zone as part of the input). This is needed for different 
> clients to enter local date/time values on their browser and consider their 
> defined time zone to convert this to the server/system time zone. I just 
> thought an additional parameter to this function would make it more generic 
> for this purpose while still keeping the current method signate which would 
> use the tiem zone sensitive one with a null or default timezone value.
> Anyway, just thought I'd suggest it.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org