What are the date formats available in the SimpleDateFormat class?


Can anybody let me know about the date formats available in SimpleDateFormat class.

I have gone through api but could not find a satisfactory answer.Any help is highly appreciated.

Dateformats are well described here http://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html

There could be n Number of format you can possibly make. ex - "dd/MM/yyyy" or "YYYY-'W'ww-u" or ... You can mix and match the letters to achieve your required pattern.