Hi Michael,

Michael Horwitz wrote:
On 12/10/07, *Rob Hills* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: I use Joda-time everywhere at the moment - complete joy after fighting with java.util.Date and java.util.Calendar - and that includes the places where I am storing dates/times as integers of the forms you mention above. Joda time's conversion to/from any format is a doddle - no more messing around with SimpleDateFormatter. Joda time's timezone manipulations are also a lot more powerful - the library has a LocalDate, LocalTime and LocalDateTime classes which represent the date, time and date time minus timezone, which seems to be exactly what you want?
You're a smooth salesman ;-) Actually, I've just spent several hours wrestling the "store time as a long solution" to the ground, and I've not even started on date or datetime yet. I think it's time to break out joda-time.

You wouldn't happen to have a snippet handy I could drop into my .pom by any chance would you? If it takes more than 30 seconds to find one, don't worry, I'm sure I can work it out.

Cheers,

Rob Hills
Waikiki, Western Australia

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to