@Override
    public int getCachedSize() {
        // Approximate the size of the object in bytes by calculating the size
        // of each field.
        int size = 0;
        size += CacheSizes.sizeOfObject();              // overhead of object
        size += CacheSizes.sizeOfString(username);
        size += CacheSizes.sizeOfDate();
        size += CacheSizes.sizeOfDate();

        return size;
    }
Sets the end time for when the account will be reenabled, or null if manual reenable required.

@param endTime Date when the disabled status will end, or null for forever.
xmppserver/src/main/java/org/jivesoftware/openfire/lockout/LockOutFlag.java