public static boolean compare(Time aValue, Time bValue, CompareWay compareWay) {
        String value = Formatter.datetimeToCustomString(aValue, TIME_FORMAT);
        int result = value.compareTo(Formatter.datetimeToCustomString(bValue, TIME_FORMAT));
        switch (compareWay) {
            case EQ:
                return result == 0;
            case GT:
                return result > 0;
            default:
                return result < 0;
        }
    }
public static boolean compare ( Time aValue , Time bValue , CompareWay compareWay ) { String value = Formatter . datetimeToCustomString ( aValue , TIME_FORMAT ) ; int result = value . compareTo ( Formatter . datetimeToCustomString ( bValue , TIME_FORMAT ) ) ; switch ( compareWay ) { case EQ : return result == 0 ; case GT : return result > 0 ; default : return result < 0 ; } }
将第一个值和第二个值进行比较

@param aValue 第一个值
@param bValue 第二个值
@param compareWay 比较方式

@return {@link Boolean}

@since 1.1.0