Date class deprecated methods


3 Answer(s)


This is how i did:

String[] row = line.split(",");
String year_month = row[2].substring(0,7);
String symbol_ym = row[1] + year_month;

hi Biswadip,

Cannot comment without looking at your code. Best thing is to use variables to store the year and month and then concat them.

hi Biswadip,

Cannot comment without looking at your code. Best thing is to use variables to store the year and month and then concat them.