I was testing Date.parse(str) method with following types of inputs:
String str1 = '06/06/2016'String str2 = '06-06-2016'String str3 = '2016-06-06'String str4 = 'July 6th, 2016'String str5 = '06, 06, 2016'String str6 = '06 July, 2016'
Out of all above inputs, str1 is the only valid input and the Date.parse method does not work for the other formats. Does the Date.parse method support only the format followed by str1? Or does parse have a bigger picture than this?