Subversion Repositories SmartDukaan

Rev

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

Rev 13669 Rev 13817
Line 85... Line 85...
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, -5);
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
		cal2.add(Calendar.DAY_OF_MONTH, 1);
90
		String endDate = sdf.format(cal2.getTime());
91
		String endDate = sdf.format(cal2.getTime());
91
		cal1.add(Calendar.DAY_OF_MONTH, -1);
92
		cal1.add(Calendar.DAY_OF_MONTH, -1);
92
		String repStartDate = repSdf.format(cal1.getTime());
93
		String repStartDate = repSdf.format(cal1.getTime());
93
		cal2.add(Calendar.DAY_OF_MONTH, -1);
94
		cal2.add(Calendar.DAY_OF_MONTH, -1);
94
		String repEndDate = repSdf.format(cal2.getTime());
95
		String repEndDate = repSdf.format(cal2.getTime());