To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.
Hi.I want to convert date to MM/dd/yyyy format in table without converting it to string as I am using that table dates for some date validations.
you can use the SimpleDateFormatter
final DateFormat fmt = new SimpleDateFormat("MM/dd/yyyy");
Edit: Oh sorry. I read about that you doesn't want to convert to String. So you could use JodaTime. With JodaTime you can handle almost all date issues.
formatPropertyValue(Object rowId, Object colId, Property property)
. This will only affect the View, while the data in the container keeps to be a Date-Object.