Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: markspace Newsgroups: comp.lang.java.programmer Subject: Re: Searching for a "TimeInterval" type... Date: Tue, 01 Oct 2013 11:22:23 -0700 Organization: A noiseless patient Spider Lines: 19 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Tue, 1 Oct 2013 18:22:25 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="9185b88a2b5381a82810209530bb8295"; logging-data="19022"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+t+4Y54Tmuj8wN0EndFSeFj/bQXJThAyU=" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 In-Reply-To: Cancel-Lock: sha1:tylJs/US5CUcLUq6ZtwX/ZD10ik= Xref: csiph.com comp.lang.java.programmer:25418 On 10/1/2013 11:11 AM, markspace wrote: > On 10/1/2013 10:29 AM, Andreas Leitgeb wrote: >> It's hard for me to >> believe, that there wasn't any common need for representing intervals >> of time in a mixture of units, and not just seconds. > > > I think the new JOGL stuff has an interval (they call it a Duration). > But I don't think you're missing anything. The Calendar class is pretty > widely derided as missing a lot of important features, afaik. > > I really loused that up. It's JODA time, and the class is Period.