Code example for Date

Methods: hashCode

0
		 
		final int prime = 31;
		 
		int result = super.hashCode();
		result = prime * result
				+ ((this.lastUpdated == null) ? 0 : this.lastUpdated.hashCode());
		 
		return result;
	} 
 
	/* 
	 * @see java.lang.Object#equals(java.lang.Object) 
	 */ 
	@Override 
	public boolean equals(Object that) {
		 
		if (this == that)
			return true; 
		if (!super.equals(that))
			return false; 
		if (this.getClass() != that.getClass())