Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #11367

Re: How can I use Operand (+ , - ) with Time

From Lew <noone@lewscanon.com>
Newsgroups comp.lang.java.programmer
Subject Re: How can I use Operand (+ , - ) with Time
Date Sun, 15 Jan 2012 15:36:54 -0800
Organization albasani.net
Lines 18
Message-ID <jevnun$pr8$1@news.albasani.net> (permalink)
References <34afdd1f-4549-48a9-878c-8678993e97ed@t30g2000vbx.googlegroups.com> <operator-overloading-20120115135044@ram.dialup.fu-berlin.de> <jev61p$eh7$1@news.albasani.net> <jev9tv$4sf$1@dont-email.me>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
X-Trace news.albasani.net vDtHfjGOYJ6fiTCjlmpxi2XuBtI0hLlzkz8t+3UVDMADOCmdnfQMih/9iT1y1kcw8oRvt79YwmakYAjz2nx1FMffjZhp/DhevyGnuXqLnnApG9X8sfKdsrISN6182qxs
NNTP-Posting-Date Sun, 15 Jan 2012 23:36:55 +0000 (UTC)
Injection-Info news.albasani.net; logging-data="KZdnV4ZjP4LHO6ma674Fa5kusdkhDJKrdod4+gBEaMl2bKvzgHPII5ggnUDLdRfNI//sRigv/+5kAZhae/DKkc9K3SPfaEbg+3VYu2td5+ZgjK29UaZkNoNBSvFPQ0a1"; mail-complaints-to="abuse@albasani.net"
User-Agent Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111109 Thunderbird/3.1.16
In-Reply-To <jev9tv$4sf$1@dont-email.me>
Cancel-Lock sha1:FHEt2mB4fKdgVMIA1cemZmHQJnU=
Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!hal.pasdenom.info!bete-des-vosges.org!feed.ac-versailles.fr!usenet-fr.net!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeder.erje.net!news.albasani.net!.POSTED!not-for-mail
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:11367

Show key headers only | View raw


Jeff Higgins wrote:
> Lew wrote:
>> That tends to cause trouble. It's better to use 'java.util.Calendar' and
>> its friends prior to Java 7, and the new time types for 7+.
>>
> I've scanned the Release Notes and API documentation for Oracle's Java SE 7
> and have been unable to find "new time types for 7+". Will you provide
> pointers for me?

You're right, I'm wrong.  I spoke of JSR 310 which was originally slated for 
Java 7 and didn't make it in.

So it's back to Calendar and numeric intervals.

-- 
Lew
Honi soit qui mal y pense.
http://upload.wikimedia.org/wikipedia/commons/c/cf/Friz.jpg

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

How can I use Operand (+ , - )  with Time sahm <sahm007@gmail.com> - 2012-01-14 23:44 -0800
  Re: How can I use Operand (+ , - )  with Time Jeff Higgins <jeff@invalid.invalid> - 2012-01-15 08:32 -0500
    Re: How can I use Operand (+ , - )  with Time Jeff Higgins <jeff@invalid.invalid> - 2012-01-15 08:52 -0500
    Re: How can I use Operand (+ , - )  with Time Jeff Higgins <jeff@invalid.invalid> - 2012-01-15 10:19 -0500
      Re: How can I use Operand (+ , - ) with Time sahm <sahm007@gmail.com> - 2012-01-15 07:55 -0800
        Re: How can I use Operand (+ , - ) with Time Lew <noone@lewscanon.com> - 2012-01-15 10:50 -0800
  Re: How can I use Operand (+ , - )  with Time Roedy Green <see_website@mindprod.com.invalid> - 2012-01-15 08:35 -0800
  Re: How can I use Operand (+ , - ) with Time Lew <noone@lewscanon.com> - 2012-01-15 10:31 -0800
    Re: How can I use Operand (+ , - ) with Time Lew <noone@lewscanon.com> - 2012-01-15 10:51 -0800
    Re: How can I use Operand (+ , - ) with Time Jeff Higgins <jeff@invalid.invalid> - 2012-01-15 14:45 -0500
      Re: How can I use Operand (+ , - ) with Time Jeff Higgins <jeff@invalid.invalid> - 2012-01-15 15:53 -0500
      Re: How can I use Operand (+ , - ) with Time Lew <noone@lewscanon.com> - 2012-01-15 15:36 -0800
    Re: How can I use Operand (+ , - ) with Time glen herrmannsfeldt <gah@ugcs.caltech.edu> - 2012-01-15 20:07 +0000
      Re: How can I use Operand (+ , - ) with Time Lew <noone@lewscanon.com> - 2012-01-15 15:39 -0800

csiph-web