Subversion Repositories SmartDukaan

Rev

Rev 9753 | Rev 9755 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 9753 Rev 9754
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){
-
 
56
				//if(count!=1 && nextLine[5].equalsIgnoreCase("Amazon") && nextLine[6].equalsIgnoreCase("Amazon.in")){
55
				if(count!=1 && nextLine[5].equalsIgnoreCase("Amazon") && nextLine[6].equalsIgnoreCase("Amazon.in")){
57
					SimpleDateFormat istFormatter = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss");
56
					SimpleDateFormat istFormatter = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss");
58
					istFormatter .setLenient(false);
57
					istFormatter .setLenient(false);
59
					TimeZone zone= TimeZone.getTimeZone("GMT");
58
					TimeZone zone= TimeZone.getTimeZone("GMT");
60
					istFormatter.setTimeZone(zone);
59
					istFormatter.setTimeZone(zone);
61
					Date date = istFormatter.parse(nextLine[2]);
60
					Date date = istFormatter.parse(nextLine[2]);