On 11 Nov 2008, at 01:42, [EMAIL PROTECTED]
wrote:
Message: 1
Date: Wed, 5 Nov 2008 15:35:11 +0100
From: "Ricla" <[EMAIL PROTECTED]>
Subject: [Joda-interest] YearMonthDay to LocalDate
To: "'Discussion of the Joda project'"
<joda-interest@lists.sourceforge.net>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="us-ascii"
Hi,
I've an old project using the deprecated YearMonthDay. Is a simple
search &
replace from "YearMonthDay" to "LocalDate' enough? or is there any
upgrade
problems to take care?
I've done exactly that in a large project earlier - there were no
issues other than use of a now-deprecated method. The method was
toDateMidnight(), which has been replaced with toTimeAtStartOfDay()
(or similar name - don't have the API to hand at the moment) to allow
for timezone rolls on which a day doesn't actually have a midnight.
All else was fine.
Cheers,
Ian
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Joda-interest mailing list
Joda-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/joda-interest