| Line 245... |
Line 245... |
| 245 |
TimeZone zone= TimeZone.getTimeZone("GMT");
|
245 |
TimeZone zone= TimeZone.getTimeZone("GMT");
|
| 246 |
istFormatter.setTimeZone(zone);
|
246 |
istFormatter.setTimeZone(zone);
|
| 247 |
Date date = istFormatter.parse(nextLine[2]);
|
247 |
Date date = istFormatter.parse(nextLine[2]);
|
| 248 |
SimpleDateFormat dateFormat = new SimpleDateFormat("MM/dd/yyyy");
|
248 |
SimpleDateFormat dateFormat = new SimpleDateFormat("MM/dd/yyyy");
|
| 249 |
Date date_key = dateFormat.parse(dateFormat.format(date));
|
249 |
Date date_key = dateFormat.parse(dateFormat.format(date));
|
| 250 |
System.out.println(nextLine[0]+" "+date_key+" "+ nextLine[11] +" " + nextLine[13] + " " + nextLine[14]);
|
250 |
System.out.println("Order Details " + nextLine[0]+" "+date_key.getDate()+":"+date_key.getMonth()+":"+date_key.getYear()+" "+ nextLine[11] +" " + nextLine[13] + " " + nextLine[14]);
|
| 251 |
Long itemid = Long.parseLong(nextLine[11].replaceAll("FBA",""));
|
251 |
Long itemid = Long.parseLong(nextLine[11].replaceAll("FBA",""));
|
| 252 |
Integer qty=0;
|
252 |
Integer qty=0;
|
| 253 |
if(nextLine[14].length()!=0){
|
253 |
if(nextLine[14].length()!=0){
|
| 254 |
qty = new Integer(nextLine[14]);
|
254 |
qty = new Integer(nextLine[14]);
|
| 255 |
}
|
255 |
}
|