Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Daniele Futtorovic Newsgroups: comp.lang.java.programmer Subject: Re: Searching for a "TimeInterval" type... Date: Sat, 05 Oct 2013 04:22:11 +0200 Organization: A noiseless patient Spider Lines: 28 Message-ID: References: <524e0f5f$0$298$14726298@news.sunsite.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Injection-Date: Sat, 5 Oct 2013 02:22:18 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="904a4cc8145c7118a6ec13c9865caa39"; logging-data="20051"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19JpzSUr/KiFgxbHW9C/h1e" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 In-Reply-To: <524e0f5f$0$298$14726298@news.sunsite.dk> Cancel-Lock: sha1:QZ4orlBFjFu7RJYX2AwTWq1CvR0= Xref: csiph.com comp.lang.java.programmer:26232 On 2013-10-04 02:44, Arne Vajhøj allegedly wrote: > On 10/3/2013 1:57 AM, Daniele Futtorovic wrote: >> On 2013-10-02 16:42, Andreas Leitgeb allegedly wrote: >>> Sebastian wrote: >>>>> >>>> One nice thing about using Joda would be that your code will stand a >>>> good chance of being easily portable to the new Data and Time API in >>>> the >>>> upcoming Java 8 release, which is mostly inspired by Joda time. >>>> Personally, I'd not start anything new based on the current Calendar >>>> class and its relatives. >> >> Having worked with with JODA in the past, I *strongly* recommend you >> made use of it, regardless of the circumstances. > > Joda has a very good reputation. > > I have used Joda at a few occasions and I must admit that I find > it over-engineered. I don't know about that. All that date and time stuff is nigh-insanely complicated. Relative to that, Joda-Time is rather simple, and it does the job. I have also found it pleasurable to use, in terms of coding. YMMV with regards to the latter, but chances are it won't w.r.t. the former; hence my unadorned recommendation. -- DF.