commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Sawle (JIRA)" <>
Subject [jira] [Commented] (LANG-1065) Merge date and time together
Date Tue, 07 Apr 2015 07:26:15 GMT


James Sawle commented on LANG-1065:

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:
>             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

View raw message