Further modifications to displayTask function in order to implement the from.. ..to case properly. Fix the bug where endIsEarlierThanStart returns true even when the dates are equal. Include one more test case where the dates are equal in TaskTest.java.