pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hartmut Benz <hartmut.benz@ti-wmc.nl>
To: pgsql-jdbc@postgresql.org
Subject: Small addition to PGInterval
Date: Thu, 29 Mar 2007 15:00:25 +0200
Message-ID: <460BB869.3050200@ti-wmc.nl> (raw)

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

Attachments:

  PGInterval.diff.gz (application/gzip, 719B) download

view thread (6+ messages)  latest in thread

Message-ID: <460BB869.3050200@ti-wmc.nl>
Permalink:  ../460BB869.3050200@ti-wmc.nl/
Also on:    postgresql.org/message-id/460BB869.3050200@ti-wmc.nl

 · 

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: hartmut.benz@ti-wmc.nl
  Subject: Re: Small addition to PGInterval
  In-Reply-To: <460BB869.3050200@ti-wmc.nl>
  References: <460BB869.3050200@ti-wmc.nl>

* 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