Subversion Repositories SmartDukaan

Rev

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

Rev 32979 Rev 33441
Line 174... Line 174...
174
	public String toString() {
174
	public String toString() {
175
		return "ItemCriteriaPayout [amountType=" + amountType + ", itemCriteria=" + itemCriteria + ", payoutSlabs="
175
		return "ItemCriteriaPayout [amountType=" + amountType + ", itemCriteria=" + itemCriteria + ", payoutSlabs="
176
				+ payoutSlabs + ", itemCriteriaString=" + itemCriteriaString + ", achievedValue=" + achievedValue
176
				+ payoutSlabs + ", itemCriteriaString=" + itemCriteriaString + ", achievedValue=" + achievedValue
177
				+ ", shortValue=" + shortValue + ", currentSlab=" + currentSlab + ", nextSlab=" + nextSlab + "]";
177
				+ ", shortValue=" + shortValue + ", currentSlab=" + currentSlab + ", nextSlab=" + nextSlab + "]";
178
	}
178
	}
-
 
179
 
-
 
180
	public boolean isWithinRange(LocalDateTime testDate) {
-
 
181
		if(startDate==null) return true;
-
 
182
		return !(testDate.isBefore(startDate) || testDate.isAfter(endDate));
-
 
183
	}
179
    
184
    
180
    
185
    
181
    
186
    
182
    
187
    
183
}
188
}