mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

dugan
20.07.2008 3d5c0e133cb2c66ed8b523b131773107c95deb6f
opends/src/server/org/opends/server/authorization/dseecompat/TimeOfDay.java
@@ -99,6 +99,20 @@
        int currentTime=TimeThread.getHourAndMinute();
        //check the type
        switch (type) {
        case EQUAL_BINDRULE_TYPE:
            if (currentTime == timeRef)
            {
                matched=EnumEvalResult.TRUE;
            }
            break;
        case NOT_EQUAL_BINDRULE_TYPE:
            if (currentTime != timeRef)
            {
                matched=EnumEvalResult.TRUE;
            }
            break;
        case LESS_OR_EQUAL_BINDRULE_TYPE:
            if (currentTime <= timeRef)
            {