Subversion Repositories SmartDukaan

Rev

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

Rev 8283 Rev 8286
Line 347... Line 347...
347
        return "authsuccess";
347
        return "authsuccess";
348
    }
348
    }
349
    
349
    
350
    private Date interchangeDateAndMonth(Date date) {
350
    private Date interchangeDateAndMonth(Date date) {
351
		Date updatedDate = new Date(date.getTime());
351
		Date updatedDate = new Date(date.getTime());
352
		updatedDate.setDate(date.getMonth() -1);
352
		updatedDate.setDate(date.getMonth() + 1);
353
		updatedDate.setMonth(date.getDate() + 1);
353
		updatedDate.setMonth(date.getDate() - 1);
354
		return updatedDate;
354
		return updatedDate;
355
	}
355
	}
356
 
356
 
357
	private LineItem createLineItem(long itemId, long quantity, double amount) throws CatalogServiceException, TException {
357
	private LineItem createLineItem(long itemId, long quantity, double amount) throws CatalogServiceException, TException {
358
    	LineItem lineItem = new LineItem();
358
    	LineItem lineItem = new LineItem();