Format date using thoughtworks Date Converter.

Today we will look at one very useful utility class named DateConverter which is part of the thoughtworks xstream library . This class can parse date from almost any given format. In the below given example the DateConverter class takes two constructor arguments, first one is default date format and second one is an array of all possible formats this converter can accept.

One thought on “Format date using thoughtworks Date Converter.

Leave a comment

Your email address will not be published. Required fields are marked *