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 358... Line 358...
358
        return "authsuccess";
358
        return "authsuccess";
359
    }
359
    }
360
    
360
    
361
    private Date interchangeDateAndMonth(Date date) {
361
    private Date interchangeDateAndMonth(Date date) {
362
		Date updatedDate = new Date(date.getTime());
362
		Date updatedDate = new Date(date.getTime());
363
		updatedDate.setDate(date.getMonth() - 1);
363
		updatedDate.setDate(date.getMonth() + 1);
364
		updatedDate.setMonth(date.getDate() + 1);
364
		updatedDate.setMonth(date.getDate() - 1);
365
		return updatedDate;
365
		return updatedDate;
366
	}
366
	}
367
    
367
    
368
    private LineItem createLineItem(long itemId, long quantity, double amount) throws CatalogServiceException, TException {
368
    private LineItem createLineItem(long itemId, long quantity, double amount) throws CatalogServiceException, TException {
369
    	LineItem lineItem = new LineItem();
369
    	LineItem lineItem = new LineItem();