Code example for Calendar

Methods: compareTo

0
		} 
	} 
	 
	@Override 
	public int compareTo(RecordMetaData o) {
		return (this.date.compareTo(o.date) * -1);
	} 
	 
	/** 
	 * Make a md5hash of a string 
	 * @param text the text to md5 
	 * @return the md5 hash 
	 */ 
	public static String md5hex(String text) {
		return DigestUtils.md5Hex(text.trim());
	} 
	 
	@Override 
	public String toString() {
		return "<Date='" + this.date.getTimeInMillis() + "'><Operator='" + this.operator.getName() + "'><Operation='" + this.operation + "'><MD5='" + this.md5hash + "'>";
	}