Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 2D6999FB5CD for ; Thu, 29 Mar 2007 10:00:50 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 65155-01 for ; Thu, 29 Mar 2007 10:00:31 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id 3CA279FB593 for ; Thu, 29 Mar 2007 10:00:37 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.3 Received: from smtp.wmc (darla.ti-wmc.nl [217.114.97.45]) by svr4.postgresql.org (Postfix) with ESMTP id 8F56D5AFCD1 for ; Thu, 29 Mar 2007 13:00:27 +0000 (GMT) Received: from [10.0.1.80] (pc030.wmc [10.0.1.80]) by smtp.wmc (Postfix) with ESMTP id D79E423973 for ; Thu, 29 Mar 2007 15:00:25 +0200 (CEST) Message-ID: <460BB869.3050200@ti-wmc.nl> Date: Thu, 29 Mar 2007 15:00:25 +0200 From: Hartmut Benz Organization: TI-WMC User-Agent: Thunderbird 1.5.0.10 (X11/20070221) MIME-Version: 1.0 To: pgsql-jdbc@postgresql.org Subject: Small addition to PGInterval Content-Type: multipart/mixed; boundary="------------010801070901070707070609" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.169 tagged_above=0 required=5 tests=AWL=0.033, BAYES_50=0.001, FORGED_RCVD_HELO=0.135 X-Spam-Level: X-Archive-Number: 200703/121 X-Sequence-Number: 16835 This is a multi-part message in MIME format. --------------010801070901070707070609 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 -- Hartmut Benz, TI-WMC, http://www.ti-wmc.nl --------------010801070901070707070609 Content-Type: application/gzip; name="PGInterval.diff.gz" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="PGInterval.diff.gz" H4sICEFqCkYAA1BHSW50ZXJ2YWwuZGlmZgCtVdtu2kAQfecrRsmLoUAM5qIoaZQoQUmkAlUu lfJULc4AG613kb1OS6P8e2fXBi+JUQWqXxh2z8w5c7PbQdgOKqewSCeChxAKliTw/fpWaoxf mQD8rVE+myM1ecFQA48WAiOUOoF7jDkT/A+bCKzDpVASjVlpNBqVs/8ZkUwVLVhs7NMi1Fml 3WXtXr3bIjrzHNVquQU1GKXRBGNQU4i4EDzBUBlaLoGiQva3uYYf5VauOtFM08+US1JMMmYw Hg1+3g8ux6Mr+Aot3/dPyGN33ojLVOOOvMPb0ePDgHh7fq3QsZ+AuUrjHelvxo93hFnTZ3L2 o39myx3Zry6ewLK3O7WVmv24l8ic1OFhjkBTlCKEKsIEprGKYKbUTCAcOK7MOh6QgrfzDH9o dDwNLu7ed8zF+Nhcgla32ztu92wi/YDRQNVbLT+PUZbaZYxMk0rm7pKVzKTSc8qa56cbKXJK IQG6B71cYCNhU9qmkCW6MY0RgQnykST1lQCKllVJLmdOhHOzdhEoG8JhNmC1WBpSc2doPtF/ KEnh7TmBVDVHva386DEBveqJc5Kg/mFq76mm6UZSB9WMlNRza9FU2V8z3NmVXTNr5p1cR3uv BEGfBf1uPTj2i0TvUKexzEolt47Rlkxhc6ocf2eC3DG7zsbMW81BtTTWeWxF7afpQ/XtDM5Q f0M50/NbObRRvLLq56xg4E+m2F7VyllNsAPNny8GekVNsMgcSou7BXlj2uQENSu9BTrMGkng mvMqLAMPmZ43Y5XKZ4/87rP6rP2yV6YzBBsvkE6rxzp9v97pH5funv36YDYcwhbQNGKj8PCL 02m+i+XdTGjhXtgrawpGO1Z80g7DLP6D8orrsf04Vj+4H27v4KeOkzIoIv9r5fKme+RV9UpY oEG7VHLulPQvIgu8i0wIAAA= --------------010801070901070707070609--