NSTimestamp IS a java.util.Date:

java.lang.Object  

<<inline: inherit.gif>>

java.util.Date   

<<inline: inherit.gif>>

java.sql.Timestamp       

<<inline: inherit.gif>>

com.webobjects.foundation.NSTimestamp

You should be able to pass it to anything expecting a java.util.Date.  Coming 
other other way, you do need to convert it.


Chuck


On 2012-10-19, at 3:51 PM, Pascal Robert wrote:

> Hi,
> 
> I'm working on ERGroupware, and I was wondering if I should use NSTimestamp. 
> I started using it to make it more "WO friendly" but I have to fu**ing 
> convert everything because the dates for ical4j, Zimbra and MS Exchange 
> expect a java.util.Date or java.util.Calendar, hence the need to create or 
> convert NSTimestamp.
> 
> So the question: for new frameworks that will go in Wonder, should we keep 
> using NSTimestamp or should we use something else?
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
> 
> This email sent to [email protected]

-- 
Chuck Hill             Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall 
knowledge of WebObjects or who are trying to solve specific problems.    
http://www.global-village.net/gvc/practical_webobjects

Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing 
Companies in B.C! 
Global Village Consulting ranks 76th in 24th annual PROFIT 200 ranking of 
Canada’s Fastest-Growing Companies by PROFIT Magazine!








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

This email sent to [email protected]

Reply via email to