| Line 50... |
Line 50... |
| 50 |
String [] nextLine;
|
50 |
String [] nextLine;
|
| 51 |
try {
|
51 |
try {
|
| 52 |
int count =1;
|
52 |
int count =1;
|
| 53 |
Map<Date,Map<Long,FbaSalesSnapshot>> orderDateItemIdFbaSaleSnapshotMap = new HashMap<Date,Map<Long,FbaSalesSnapshot>>();
|
53 |
Map<Date,Map<Long,FbaSalesSnapshot>> orderDateItemIdFbaSaleSnapshotMap = new HashMap<Date,Map<Long,FbaSalesSnapshot>>();
|
| 54 |
while ((nextLine = orderreportreader.readNext()) != null) {
|
54 |
while ((nextLine = orderreportreader.readNext()) != null) {
|
| - |
|
55 |
if(count!=1){
|
| 55 |
if(count!=1 && nextLine[5].equalsIgnoreCase("Amazon") && nextLine[6].equalsIgnoreCase("Amazon.in")){
|
56 |
//if(count!=1 && nextLine[5].equalsIgnoreCase("Amazon") && nextLine[6].equalsIgnoreCase("Amazon.in")){
|
| 56 |
SimpleDateFormat istFormatter = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss");
|
57 |
SimpleDateFormat istFormatter = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss");
|
| 57 |
istFormatter .setLenient(false);
|
58 |
istFormatter .setLenient(false);
|
| 58 |
TimeZone zone= TimeZone.getTimeZone("GMT");
|
59 |
TimeZone zone= TimeZone.getTimeZone("GMT");
|
| 59 |
istFormatter.setTimeZone(zone);
|
60 |
istFormatter.setTimeZone(zone);
|
| 60 |
Date date = istFormatter.parse(nextLine[2]);
|
61 |
Date date = istFormatter.parse(nextLine[2]);
|