I have dates in text format of the form dd-mmm-yy or d-mmm-y, where the months are the abbreviations in letters (for example, November 4-09 or 12-Dec-05, etc.)) I would like parse it to create a java.util.Date object.
Can this be achieved by using the java.text.DateFormat class? Or is there another easy way to do this?
source
share