src/edu/kit/informatik/calendar/Time.java
/**
     * Compares the object to a given {@linkplain Time} instance and checks if the object is located before in time
     * @param other The {@linkplain Time} instance to compare
     * @return {@code True} if the object is located in time before the given value. {@code False} otherwise
     */
Compares the object to a given  Time instance and checks if the object is located before in time
@param other The  Time instance to compare
@return  True if the object is located in time before the given value.  False otherwise
Compares the object to a given Time instance and checks if the object is located before in time @param other The Time instance to compare @return True if the object is located in time before the given value . False otherwise
public boolean isBefore(Time other) {
        boolean isBefore = false;
        if (hour <= other.getHour()) {
            if (hour < other.getHour()) {
                isBefore = true;
            } else {
                if (minute <= other.getMinute()) {
                    if (minute < other.getMinute()) {
                        isBefore = true;
                    } else {
                        if (second < other.getSecond()) {
                            isBefore = true;
                        }
                    }
                }
            }
        }
        return isBefore;
    }
public boolean isBefore ( Time other ) { boolean isBefore = false ; if ( hour <= other . getHour ( ) ) { if ( hour < other . getHour ( ) ) { isBefore = true ; } else { if ( minute <= other . getMinute ( ) ) { if ( minute < other . getMinute ( ) ) { isBefore = true ; } else { if ( second < other . getSecond ( ) ) { isBefore = true ; } } } } } return isBefore ; }
Compares the object to a given {@linkplain Time} instance and checks if the object is located before in time
 @param other The {@linkplain Time} instance to compare
 @return {@code True} if the object is located in time before the given value.
Compares the object to a given { @linkplain Time } instance and checks if the object is located before in time @param other The { @linkplain Time } instance to compare @return { @code True } if the object is located in time before the given value .