Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id B313B634603 for ; Tue, 1 Sep 2009 21:03:33 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 32647-04 for ; Wed, 2 Sep 2009 00:03:26 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from tremor.opencloud.co.nz (tremor.opencloud.co.nz [131.203.101.230]) by mail.postgresql.org (Postfix) with ESMTP id 57CCE6335C3 for ; Tue, 1 Sep 2009 21:03:25 -0300 (ADT) Received: from 122-57-44-76.jetstream.xtra.co.nz ([122.57.44.76] helo=[192.168.1.3]) by tremor.opencloud.co.nz with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1MidJi-0004GB-Sn; Wed, 02 Sep 2009 12:03:14 +1200 Message-ID: <4A9DB63F.1050301@opencloud.com> Date: Wed, 02 Sep 2009 12:03:11 +1200 From: Oliver Jowett User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: Kris Jurka CC: =?ISO-8859-1?Q?L=28ubom=EDr_Varga?= , pgsql-jdbc@postgresql.org Subject: Re: Possible bug in PGInterval class References: <200908312134.12661.luvar@plaintext.sk> In-Reply-To: X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.11 tagged_above=-10 required=5 tests=BAYES_05=-1.11 X-Spam-Level: X-Archive-Number: 200909/2 X-Sequence-Number: 19949 Kris Jurka wrote: > > > On Mon, 31 Aug 2009, ?ubom?r Varga wrote: >> First is unlogical adding sum to parameter and not to object on which is >> method invoked. (this is also writen in javadoc, so I accept it) > > This is to be similar to the add(Date) and add(Calendar) functions. For > them you wan't to add the interval to the passed object. Maybe rename them to addTo() ? -O