@Override
	public boolean equals(Object obj) {
		if (obj == null) {
			return false;
		}
		if (getClass() != obj.getClass()) {
			return false;
		}
		final Time other = (Time) obj;
		if (this.idActivity != other.idActivity) {
			return false;
		}
		if (!Objects.equals(this.startTime, other.startTime)) {
			return false;
		}
		if (!Objects.equals(this.endTime, other.endTime)) {
			return false;
		}
		if (!Objects.equals(this.duration, other.duration)) {
			return false;
		}
		if (!Objects.equals(this.description, other.description)) {
			return false;
		}
		return true;
	}