Is there a dateformat for this requirement?
String date = 201010 - 2010-10
String date = 20101010 - 2010-10 (only year and month to be displayed with a - in between).
tried different ways getting Unparseable date: "201011", but i will get the date like this only.
Now I am doing by substring that date, concatenate it with - in between with the substringed values (year (0,4), month (4,6) concat (year, -, month)).
which looks to be odd.