public boolean equals(Duration time) {
	boolean result = false;
	boolean hoursComparison = false;
	boolean minutesComparison = false;
	boolean secondsComparison = false;
	//If time given is null, then we will return the false boolean
	if (time == null) {
		return false;//<--this will return false
	}
	//We will grab each variable from object A
	int hoursA = this.getHours();
	int minutesA = this.getMinutes();
	int secondsA = this.getSeconds();
	//We will grab each variable from object B
	int hoursB = time.getHours();
	int minutesB = time.getMinutes();
	int secondsB = time.getSeconds();
	//Then we will set the values from object A and object B equal as a boolean
	hoursComparison = hoursA == hoursB;
	minutesComparison = minutesA == minutesB;
	secondsComparison = secondsA == secondsB;
	//We will evaluate this boolean expression
	if (hoursComparison && minutesComparison && secondsComparison) {//If all values are equal
		result = true;//<--we will set result to true
	}else {//If all the values are not an equal match then we return false
		result = false;//<--we will set result to false
	}
	
	return result;//<--we return the final evaluation
}//end of compareTo method