Small addition to PGInterval

From: Hartmut Benz <hartmut(dot)benz(at)ti-wmc(dot)nl>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Small addition to PGInterval
Date: 2007-03-29 13:00:25
Message-ID: 460BB869.3050200@ti-wmc.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Hi all,

please find attached a small extension to PGInterval:
- getTimeInMillis - returns the number of milliseconds in the interval
- copying constructor PGInterval(PGInterval) for type-safe, cast-free
cloning
- now implements Comaparable<PGInterval>

--
Hartmut Benz,
TI-WMC, http://www.ti-wmc.nl

Attachment Content-Type Size
PGInterval.diff.gz application/gzip 719 bytes

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message ljairath@uoguelph.ca 2007-03-29 14:24:10 Sudden JVM crashes - a Postgres driver problem?
Previous Message wuhaitao 2007-03-29 07:26:51 There are something wrong when using inet type with Hibernate