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 A57DC17CD9 for ; Mon, 16 Mar 2015 07:25:39 +0000 (UTC) Received: (qmail 34658 invoked by uid 500); 16 Mar 2015 07:25:39 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 34561 invoked by uid 500); 16 Mar 2015 07:25:39 -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 34543 invoked by uid 99); 16 Mar 2015 07:25:39 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Mar 2015 07:25:39 +0000 Date: Mon, 16 Mar 2015 07:25:39 +0000 (UTC) From: "Benedikt Ritter (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (LANG-763) Reintroduce DateUtils.UTC_TIME_ZONE constant MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LANG-763?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] Benedikt Ritter resolved LANG-763. ---------------------------------- Resolution: Won't Fix Fix Version/s: (was: Review Patch) No further interest by contributor in getting this functionality into lang,= and no interest on my side to implement it myself :-) > Reintroduce DateUtils.UTC_TIME_ZONE constant > -------------------------------------------- > > Key: LANG-763 > URL: https://issues.apache.org/jira/browse/LANG-763 > Project: Commons Lang > Issue Type: New Feature > Components: lang.time.* > Affects Versions: 3.0.1 > Reporter: Attila Kir=C3=A1ly > Priority: Minor > > In LANG-691 DateUtils.UTC_TIME_ZONE was removed because TimeZone-s are mu= table. However it was a handy constant. So it would be nice if it could be = reintroduced in an immutable way. For example: > - by creating a new static method DateUtils.utcTimeZone() {return TimeZon= e.getTimeZone("GMT");} > - or by creating an immutable timezone type (subclassing maybe SimpleTime= Zone) -- This message was sent by Atlassian JIRA (v6.3.4#6332)