Return-Path: Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 36885 invoked from network); 3 Aug 2003 22:43:00 -0000 Received: from imf20aec.mail.bellsouth.net (205.152.59.68) by daedalus.apache.org with SMTP; 3 Aug 2003 22:43:00 -0000 Received: from YellowJacket ([65.81.133.62]) by imf20aec.mail.bellsouth.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030803224306.IVXF23972.imf20aec.mail.bellsouth.net@YellowJacket> for ; Sun, 3 Aug 2003 18:43:06 -0400 Reply-To: From: "Steven Caswell" To: "'Jakarta Commons Developers List'" Subject: [lang] DateUtils round and truncate functionality with Calendar.AM_PM Date: Sun, 3 Aug 2003 18:42:53 -0400 Message-ID: <000101c35a10$967a2630$6f00a8c0@YellowJacket> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0002_01C359EF.0F688630" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------=_NextPart_000_0002_01C359EF.0F688630 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Does anyone know how the DateUtils methods round and truncate are = suppose to behave when passed Calendar.AM_PM? I've tried several combinations of round, and they all seem to truncate instead. There is nothing in the Javadocs for these methods about the expected result, and I'm not able = to tell if the methods are working properly. Steven Caswell steve@mungoknotwise.com "In our own native land, in defense of the freedom that is our = birthright, and which we ever enjoyed till the late violation of it -- for the protection of our property, acquired solely by the honest industry of = our fore-fathers and ourselves, against violence actually offered, we have = taken up arms. We shall lay them down when hostilities shall cease on the part = of the aggressors, and all danger of their being renewed shall be removed, = and not before." - Thomas Jefferson=20 ------=_NextPart_000_0002_01C359EF.0F688630--