Code example for Date

Methods: equals

0
		if (numberOfComments != other.numberOfComments)
			return false; 
		if (requestDate == null) {
			if (other.requestDate != null)
				return false; 
		} else if (!requestDate.equals(other.requestDate))
			return false; 
		if (smoothingApplied != other.smoothingApplied)
			return false; 
		if (totalDownloads != other.totalDownloads)
			return false; 
		return true; 
	} 
 
	public String getNumberOfCommentsPercentString() {
		return numberOfCommentsPercentString;
	} 
 
	public void calcNumberOfCommentsPercentString() { 
 
		int numberOfComments = getNumberOfComments();