Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 036BACF6F for ; Thu, 25 Dec 2014 16:17:19 +0000 (UTC) Received: (qmail 15020 invoked by uid 500); 25 Dec 2014 16:17:13 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 14924 invoked by uid 500); 25 Dec 2014 16:17:13 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 14913 invoked by uid 99); 25 Dec 2014 16:17:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Dec 2014 16:17:13 +0000 Date: Thu, 25 Dec 2014 16:17:13 +0000 (UTC) From: "Benedikt Ritter (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (LANG-1065) Merge date and time together MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LANG-1065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14258800#comment-14258800 ] 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: 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)