Hello every one,
i write this code to format a date
SimpleDateFormat sdf = new SimpleDateFormat ("mm/dd/yyyy");
String date = sdf.format(updatedParameters
[i][1]);
paramValue.setDateField(sdf.parse(date));
where is a String and i have tis error:
java.lang.IllegalArgumentException: Cannot format given Object as a
Date
What can i do please?
Arnaud
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---