commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benedikt Ritter (JIRA)" <>
Subject [jira] [Commented] (LANG-1065) Merge date and time together
Date Thu, 25 Dec 2014 16:17:13 GMT


Benedikt Ritter commented on LANG-1065:

To me this also feels very specific for a/your use case. The hole implementation would rely
on conventions for the structure of the passed in date objects. Further more I don't think
we should extend the functionality of the time package anymore. There are better alternatives
(Java 8, yoda-time) for handling temporal values in Java.

> 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