• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Patched MySQL plugin
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Patched MySQL plugin


  • Subject: Re: Patched MySQL plugin
  • From: Roger Marshall <email@hidden>
  • Date: Sat, 2 Oct 2010 00:20:43 +0100

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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Patched MySQL plugin
      • From: Paul Hoadley <email@hidden>
    • Re: Patched MySQL plugin
      • From: Mike Schrag <email@hidden>
References: 
 >Re: Patched MySQL plugin (From: Ray Kiddy <email@hidden>)
 >Re: Patched MySQL plugin (From: Ramsey Gurley <email@hidden>)
 >Re: Patched MySQL plugin (From: Chuck Hill <email@hidden>)
 >Re: Patched MySQL plugin (From: Ramsey Gurley <email@hidden>)
 >Re: Patched MySQL plugin (From: Ramsey Gurley <email@hidden>)
 >Re: Patched MySQL plugin (From: Ray Kiddy <email@hidden>)
 >Re: Patched MySQL plugin (From: Ramsey Gurley <email@hidden>)
 >Re: Patched MySQL plugin (From: Mike Schrag <email@hidden>)
 >Re: Patched MySQL plugin (From: Ramsey Gurley <email@hidden>)
 >Re: Patched MySQL plugin (From: Travis Britt <email@hidden>)

  • Prev by Date: Re: Patched MySQL plugin
  • Next by Date: Re: Patched MySQL plugin
  • Previous by thread: Re: Patched MySQL plugin
  • Next by thread: Re: Patched MySQL plugin
  • Index(es):
    • Date
    • Thread