Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!.POSTED!not-for-mail From: glen herrmannsfeldt Newsgroups: comp.lang.java.programmer Subject: Re: How can I use Operand (+ , - ) with Time Date: Sun, 15 Jan 2012 20:07:35 +0000 (UTC) Organization: Aioe.org NNTP Server Lines: 9 Message-ID: References: <34afdd1f-4549-48a9-878c-8678993e97ed@t30g2000vbx.googlegroups.com> NNTP-Posting-Host: H0vc4U5LIRkRHNPyGCs2dA.user.speranza.aioe.org X-Complaints-To: abuse@aioe.org User-Agent: tin/1.9.6-20100522 ("Lochruan") (UNIX) (Linux/2.6.32-5-amd64 (x86_64)) X-Notice: Filtered by postfilter v. 0.8.2 Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:11364 Lew wrote: (snip) > Why in the heck would you recommend 'double' as a time, date or interval type? > It's very inappropriate. With an available 64 bit integer type, I agree. Use long, not double. -- glen