SimpleDateFormat sdf = new SimpleDateFormat("mm/dd/yyyy", Locale.getDefault());
SimpleDateFormat sdf = new SimpleDateFormat("MM/dd/yyyy", Locale.getDefault());
    private String getConvertedBaseSampleDataRepresentation(String sOldRepresentation)    {        StringTokenizer strtok = new StringTokenizer(sOldRepresentation, ","); //$NON-NLS-1$        StringBuffer sbNewRepresentation = new StringBuffer(""); //$NON-NLS-1$        SimpleDateFormat sdf = new SimpleDateFormat("mm/dd/yyyy", Locale.getDefault()); //$NON-NLS-1$        int iValueCount = 0;        while (strtok.hasMoreTokens())        {            String sElement = strtok.nextToken().trim();            if (!sElement.startsWith("'")) //$NON-NLS-1$            {                Calendar cal = Calendar.getInstance();                // Increment the date once for each entry so that you get a sequence of dates                cal.set(Calendar.DATE, cal.get(Calendar.DATE) + iValueCount);                sbNewRepresentation.append(sdf.format(cal.getTime()));                iValueCount++;            }            else            {                sElement = sElement.substring(1, sElement.length() - 1);                try                {                    sdf.parse(sElement);                    sbNewRepresentation.append(sElement);                }                catch (ParseException e )                {                    Calendar cal = Calendar.getInstance();                    // Increment the date once for each entry so that you get a sequence of dates                    cal.set(Calendar.DATE, cal.get(Calendar.DATE) + iValueCount);                    sbNewRepresentation.append(sdf.format(cal.getTime()));                    iValueCount++;                }            }            sbNewRepresentation.append(","); //$NON-NLS-1$        }        return sbNewRepresentation.toString().substring(0, sbNewRepresentation.length() - 1);    }