pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: Kris Jurka <books@ejurka.com>
Cc: L(ubomír Varga <luvar@plaintext.sk>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Possible bug in PGInterval class
Date: Wed, 02 Sep 2009 12:03:11 +1200
Message-ID: <4A9DB63F.1050301@opencloud.com> (raw)
In-Reply-To: <alpine.BSO.2.00.0909011954290.14550@leary.csoft.net>
References: <200908312134.12661.luvar@plaintext.sk>
	<alpine.BSO.2.00.0909011954290.14550@leary.csoft.net>

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



view thread (4+ messages)  latest in thread

Message-ID: <4A9DB63F.1050301@opencloud.com>
Permalink:  ../4A9DB63F.1050301@opencloud.com/
Also on:    postgresql.org/message-id/4A9DB63F.1050301@opencloud.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: oliver@opencloud.com, books@ejurka.com, luvar@plaintext.sk
  Subject: Re: Possible bug in PGInterval class
  In-Reply-To: <4A9DB63F.1050301@opencloud.com>
  References: <200908312134.12661.luvar@plaintext.sk> <alpine.BSO.2.00.0909011954290.14550@leary.csoft.net> <4A9DB63F.1050301@opencloud.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox