@Override
    public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
        username = ExternalizableUtil.getInstance().readSafeUTF(in);
        long st = ExternalizableUtil.getInstance().readLong(in);
        startTime = st != -1 ? new Date(st) : null;
        long et = ExternalizableUtil.getInstance().readLong(in);
        endTime = et != -1 ? new Date(et) : null;
    }
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