Previously on "Date Hate":

"Date-Only NSTimestamps"
        
http://lists.apple.com/archives/webobjects-dev/2008/Jan/threads.html#00023

"Recording and looking up dates, when day-wide precision is required"
        http://lists.apple.com/archives/webobjects-dev/2008/Dec/thrd7.html#00626
        
http://lists.apple.com/archives/webobjects-dev/2009/Jan/threads.html#00004

"Dates (1-day resolution) redux"
        http://lists.apple.com/archives/webobjects-dev/2010/Aug/thrd2.html#00132


How are people persisting their Joda-Time values? I was recently trying to configure a prototype for Joda-Time LocalDate, but the Joda- Time classes don't have factory methods, and are declared final, as discussed recently that last thread.

How about validation/formatters?

--
Roger

On 1 Oct 2010, at 22:31, Travis Britt wrote:

Just chiming in to say Joda totally rocks, and if I'd starting using it two years ago rather than one year ago I'd have more hair left.

tb

On Oct 1, 2010, at 4:46 PM, Ramsey Gurley wrote:

Sounds like I might be a fan soon (^_^)

Ramsey

On Oct 1, 2010, at 4:41 PM, Mike Schrag wrote:

yeah it's kind of a big deal to them ...

"Joda-Time makes heavy use of the immutability design pattern, and all immutable classes in Joda-Time are thread-safe. Many mutable classes whose instances are not likely to be shared are not thread- safe, and are documented as such."

On Oct 1, 2010, at 4:34 PM, Ramsey Gurley wrote:


On Oct 1, 2010, at 3:25 PM, Ray Kiddy wrote:


On Oct 1, 2010, at 11:54 AM, Ramsey Gurley wrote:

Aaaaand, I'm wrong

GregorianCalendar gc = new GregorianCalendar(2009,2,13,14,36,45);
     TimeZone pst = TimeZone.getTimeZone( "PST" );
     TimeZone est = TimeZone.getTimeZone( "EST" );
     gc.setTimeZone( pst );
     System.out.println(gc.getTimeInMillis());
     gc.setTimeZone( est );
     System.out.println(gc.getTimeInMillis());

gives me output of:

1236980205000
1236980205000

D'oh! I'll go back to *not* thinking about dates again. (^_^) Word to the wise... Chuck Hill is always right.

Ramsey

Now if we could get Chuck to write all of our code, we would be golden!

Until then, some of us have to figure out something to do. Maybe we can use joda! :-)

- ray


It sounds like Joda has lots of fans. Does anyone who has worked with it know if they have immutable data types?

Ramsey
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40pobox.com

This email sent to [email protected]


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/tbritt%40phigment.org

This email sent to [email protected]

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/roger.marshall%40aetopia.com

This email sent to [email protected]


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to