public int compareTo(Time other) {
		
		short greater = 1;
		short less = -1;
		
		if (COMPARISON_TYPE == COMPARISON_DESCENDING) {
			greater = -1;
			less = 1;
		}

		if (this.getTimeSector() != other.getTimeSector()) {
			if (this.getTimeSector() < other.getTimeSector()) return less; else return greater;
		} else {
			
			if (this.getHour() != other.getHour()) {
				if (this.getHour() < other.getHour()) return less; else return greater;
			} else {
				
				if (this.getMin() < other.getMin()) {
					return less;
				} else {
					if (this.getMin() > other.getMin()) return greater;
					if (this.getMin() == other.getMin()) return 0;
					return 0;
				}
			}
			
		}
		
	}