Return-Path: Delivered-To: apmail-directory-commits-archive@www.apache.org Received: (qmail 34597 invoked from network); 1 Sep 2005 19:24:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 Sep 2005 19:24:01 -0000 Received: (qmail 48361 invoked by uid 500); 1 Sep 2005 19:24:01 -0000 Delivered-To: apmail-directory-commits-archive@directory.apache.org Received: (qmail 48326 invoked by uid 500); 1 Sep 2005 19:24:01 -0000 Mailing-List: contact commits-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@directory.apache.org Delivered-To: mailing list commits@directory.apache.org Received: (qmail 48308 invoked by uid 99); 1 Sep 2005 19:24:01 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Sep 2005 12:24:01 -0700 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 01 Sep 2005 12:24:16 -0700 Received: (qmail 34586 invoked by uid 65534); 1 Sep 2005 19:24:00 -0000 Message-ID: <20050901192400.34585.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r265771 - /directory/shared/ldap/branches/new-codec-integration/common/src/java/org/apache/ldap/common/util/DateUtils.java Date: Thu, 01 Sep 2005 19:23:59 -0000 To: commits@directory.apache.org From: elecharny@apache.org X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: elecharny Date: Thu Sep 1 12:23:56 2005 New Revision: 265771 URL: http://svn.apache.org/viewcvs?rev=265771&view=rev Log: Synchronized SimpleDateFormat Modified: directory/shared/ldap/branches/new-codec-integration/common/src/java/org/apache/ldap/common/util/DateUtils.java Modified: directory/shared/ldap/branches/new-codec-integration/common/src/java/org/apache/ldap/common/util/DateUtils.java URL: http://svn.apache.org/viewcvs/directory/shared/ldap/branches/new-codec-integration/common/src/java/org/apache/ldap/common/util/DateUtils.java?rev=265771&r1=265770&r2=265771&view=diff ============================================================================== --- directory/shared/ldap/branches/new-codec-integration/common/src/java/org/apache/ldap/common/util/DateUtils.java (original) +++ directory/shared/ldap/branches/new-codec-integration/common/src/java/org/apache/ldap/common/util/DateUtils.java Thu Sep 1 12:23:56 2005 @@ -31,6 +31,12 @@ { private static final TimeZone UTC_TIME_ZONE = TimeZone.getTimeZone( "UTC" ); + private static final DateFormat dateFormat = new SimpleDateFormat( "yyyyMMddHHmmss'Z'" ); + + static + { + dateFormat.setTimeZone( UTC_TIME_ZONE ); + } /** * Gets the generalized time using the "Z" form of the g-time-zone * described by [