commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Benedict (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (LANG-1065) Merge date and time together
Date Sat, 27 Dec 2014 20:54:13 GMT

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

Paul Benedict edited comment on LANG-1065 at 12/27/14 8:53 PM:
---------------------------------------------------------------

We have a pull request with tests. Evidently, that means someone else wants this functionality
too. This isn't the first time I wanted this functionality and typically need this when all
I have are Date objects. My vote is to include it. Until the world moves to Java 8, I prefer
to stick with solutions that manipulate JDK objects.


was (Author: paul4christ79):
We have a pull request with tests. Evidently, that means someone wants this functionality
too. This isn't the first time I wanted this functionality and typically need this when all
I have is Date objects. My vote is to include it. Until the world moves to Java 8, I prefer
to stick with solutions that manipulate JDK objects.

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

Mime
View raw message