Subversion Repositories SmartDukaan

Rev

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

Rev 13668 Rev 13669
Line 82... Line 82...
82
		SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
82
		SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
83
		SimpleDateFormat repSdf = new SimpleDateFormat("MM-dd-yyyy");
83
		SimpleDateFormat repSdf = new SimpleDateFormat("MM-dd-yyyy");
84
		SimpleDateFormat flipkartRepFormat = new SimpleDateFormat("EEE MMM dd HH:mm:ss Z yyyy");
84
		SimpleDateFormat flipkartRepFormat = new SimpleDateFormat("EEE MMM dd HH:mm:ss Z yyyy");
85
		Calendar cal1 = Calendar.getInstance();
85
		Calendar cal1 = Calendar.getInstance();
86
		Calendar cal2 = Calendar.getInstance();
86
		Calendar cal2 = Calendar.getInstance();
87
		cal1.add(Calendar.DAY_OF_MONTH, -10);
87
		cal1.add(Calendar.DAY_OF_MONTH, -5);
88
		String startDate = sdf.format(cal1.getTime());
88
		String startDate = sdf.format(cal1.getTime());
89
		//cal2.add(Calendar.DAY_OF_MONTH, -1);
89
		//cal2.add(Calendar.DAY_OF_MONTH, -1);
90
		String endDate = sdf.format(cal2.getTime());
90
		String endDate = sdf.format(cal2.getTime());
91
		cal1.add(Calendar.DAY_OF_MONTH, -1);
91
		cal1.add(Calendar.DAY_OF_MONTH, -1);
92
		String repStartDate = repSdf.format(cal1.getTime());
92
		String repStartDate = repSdf.format(cal1.getTime());