On Mar 1, 2007, at 24:38 , Stephen Colebourne wrote: > Fabrizio Giudici wrote: >> Nevertheless I didn't understand whether >> Joda time is able to represent such a date as 1.500.000.000 B.C, even >> with a (much) lower precision. Remember that I want to keep a single >> representation (i.e. a single number) for every date, and I don't >> want to switch to variant schemas for dates before/after a certain >> threshold. > Joda-Time really doesn't provide any support for dates beyond the > specified range. Which I'd like to look at again in JSR-310.
Ok. This is due to 2^63 / 365 * 24 * 60 * 60 * 1000, right? > >> Second question: I need to put those dates into a database. I've read >> about the Hibernate contrib, but I'm worried about being 0.8 and last >> updated more than one year ago. Furthermore, I'm using Hibernate, but >> hidden behind the Java Persistence API; and I could have some >> constraints (that at the moment I can't relax) about storing those >> dates as plain numbers or even strings (i.e. a number stringified), >> for instance when exporting XML files. I presume that converting a >> Joda date to/from an integer is not an issue. > I think the best thing is to checkout subversion. Additional classes > have been added, and they may well cover your use cases. The website > probably needs a refresh. Ok, thanks. -- Fabrizio Giudici, Ph.D. - Java Architect, Project Manager Tidalwave s.a.s. - "We make Java work. Everywhere." weblogs.java.net/blog/fabriziogiudici - www.tidalwave.it/blog [EMAIL PROTECTED] - mobile: +39 348.150.6941 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Joda-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/joda-interest
