Feature Requests item #648435, was opened at 2002-12-04 15:24 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=354754&aid=648435&group_id=4754
Category: framework Group: None Status: Open Resolution: None Priority: 5 Submitted By: Adam Greene (ccm682) Assigned to: Nobody/Anonymous (nobody) Summary: Using java.util.Date in DatePicker Initial Comment: Currently the DatePicker utilizes java.sql.Date as it's expected source for the date value, which causes problems. You cannot hand it a java.util.Date or a java.sql.Timestamp. If it was made to use java.util.Date then you could hand it a java.sql.Date, a java.sql.Timestamp or a java.util.Date. Which would be more flexible. The reason I suggest this is that we use Torque for our O/R bindings and we are allows having to create extra methods to create a java.sql.Date object and copy the java.sql.Timestamp into it. ---------------------------------------------------------------------- >Comment By: Malcolm Edgar (malcolm_edgar) Date: 2002-12-04 22:08 Message: Logged In: YES user_id=592290 DatePicker initially used java.util.Date, however it was felt that java.sql.Date better represents a real date. Internally however java.sql.Date just makes a few depricated method calls illegal and provides some parsing methods. It still stores its value in milliseconds. So java.sql.Date comparisons can still be different on the same date. Sun's design of the date stuff is pretty poor. In summary I dont have a problem changing this back to java.util.Date, though there may be some impact existing 2.2 applications ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=354754&aid=648435&group_id=4754 ------------------------------------------------------- This SF.net email is sponsored by: Microsoft Visual Studio.NET comprehensive development tool, built to increase your productivity. Try a free online hosted session at: http://ads.sourceforge.net/cgi-bin/redirect.pl?micr0003en _______________________________________________ Tapestry-developer mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/tapestry-developer
