Re: Date Math Question and Daylight Savings Time
Re: Date Math Question and Daylight Savings Time
- Subject: Re: Date Math Question and Daylight Savings Time
- From: James Cicenia <email@hidden>
- Date: Thu, 20 Jan 2005 18:59:18 -0600
Well all -
That really opened up a bad smelling can of worms. I also have always
hated dates and times in Java and I guess I am not alone. It is truly
one of the most obfuscating, self-referencing, deprecating API I have
ever worked with, and that doesn't even include issues of a
sql,timestamp too....
Sigh.. Maybe Mr. PA's "joda-time.sourceforge.net" link is the way to
go. It is in the vein of having someone else do it.
I will investigate that first.
- James Cicenia
On Jan 20, 2005, at 3:11 PM, Chuck Hill wrote:
Yes. This is my best practice: Foist the task off on someone else.
:-)
Sacha and I have a long running game of Hot Potato on this one.
Use GregorianCalendar, keep your wits about you, and resign yourself
to writing some methods to make it work for you. You really have to
decide what date and time means in your app and code according. This
part does not "just work".
Chuck
On Jan 20, 2005, at 1:05 PM, Kieran Kelleher wrote:
Any advice on best practices of working with NSTimeStamp instances,
user time zones and Daylight Savings Time in WebObjects and date/time
database fields?
Regards, Kieran
On Jan 20, 2005, at 2:59 PM, Wolfram Stebel wrote:
Von: PA <email@hidden>
On Jan 20, 2005, at 19:55, Chuck Hill wrote:
My take is "working with Date/Time sucks in general
Right.
Wrong.
http://www.timeanddate.com/time/internettime.html
and sucks deeply in Java".
Suck it up and do like everybody else: write your own :o)
not neccessary
http://joda-time.sourceforge.net/
Cheers
--
PA
http://alt.textdrive.com/
if you are able to distinguish between time, date and datetime it
seems
pretty straightforward.
Wolfram
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
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:
village.net
This email sent to email@hidden
--
Practical WebObjects - a book for intermediate WebObjects developers
who want to increase their overall knowledge of WebObjects, or those
who are trying to solve specific application development problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
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