I am writing a Movie Session Program. : I get the error:  "Bad Operand Types for Binary Operator ">"  first type: Time second type: Time"  
This is the method where it gives me the error:
@Override
    public int compareTo(MovieSession currentMovieSession) {

        if (this.sessionTime < currentMovieSession.sessionTime)
        {
            return -1;
        }
         else if (this.sessionTime > currentMovieSession.sessionTime) 
         {
            return 1;
         }
        if(this.sessionTime == currentMovieSession.sessionTime)
        {
            return this.movieName > currentMovieSession.movieName ? 1 : -1;
        }
    }