You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "James Sawle (JIRA)" <ji...@apache.org> on 2015/04/07 09:26:15 UTC

[jira] [Commented] (LANG-1065) Merge date and time together

    [ https://issues.apache.org/jira/browse/LANG-1065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14482739#comment-14482739 ] 

James Sawle commented on LANG-1065:
-----------------------------------

Hi,
My answer to this is two fold:
- yes I do enjoy submitting patches
- however, this is something we have custom implemented in our code base and I have had to do in multiple code bases elsewhere. Whilst Java 8 and Joda Time are nice solutions to the problem, both would be to large a refactor (and my previous projects would not have been supported within the contract)

I can not believe we are the only two users of the commons-lang framework who would find this useful, maybe just the only two on the Jira boards. This would aid a lot, as would split methods doing the inverse.

> Merge date and time together
> ----------------------------
>
>                 Key: LANG-1065
>                 URL: https://issues.apache.org/jira/browse/LANG-1065
>             Project: Commons Lang
>          Issue Type: New Feature
>          Components: lang.time.*
>            Reporter: Paul Benedict
>            Priority: Minor
>             Fix For: Review Patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> I have 2 java.util.Date objects -- one with the correct date and one with the correct time. This enhancement will create a new method to apply the respective fragments to a new java.util.Date instance.
> Possible signature:
> public static Date merge(Date date, Date time);



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)