Code example for Time

Methods: compare

0
		return dateTimeClone;
	} 
 
	@Override 
	public int compareTo(DateTime o) {
		return Time.compare(getAndroidTime(), o.getAndroidTime());
	} 
	 
	@Override 
	public String toString() {
		return getDay() +"."+getMonth()+"."+getYear() + " " + getHour()+":" + 
				(((""+getMinute()).length()==2)? getMinute()+"" : "0"+getMinute());
	} 
	 
}