Hi
this is regarding the bug-report i submitted in Scarab on Criteria.addDate() 
function.
I've added a solution (seen below) to the report stating  my solution.

Please comment.

 I think the fix is to use DateFormat.format() instead of calling toString() 
on GregorianCalendar. 
So i wrote a utility funciton in the Criteria class for this:
  public Object formatSqlDate(GregorianCalendar c) { 
                 return dateFormat.format(c.getTime());
 }

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to