out.writeBoolean(mRecurId!=null); if (mRecurId != null) { out.writeInt(mRecurId.getRange()); out.writeUTF(mRecurId.getDt().toString());
boolean hasRecurId = mRecurIdDt != null; out.writeBoolean(hasRecurId); if (hasRecurId) { out.writeInt(mRecurIdRange); out.writeUTF(mRecurIdDt);
    protected void serializeData(DataOutput out) throws IOException {        out.writeInt(mApptId);                out.writeBoolean(mRecurId!=null);        if (mRecurId != null) {            out.writeInt(mRecurId.getRange());            out.writeUTF(mRecurId.getDt().toString());        }                out.writeUTF(mCnStr);        out.writeUTF(mAddressStr);        out.writeUTF(mCUTypeStr);        out.writeUTF(mRoleStr);        out.writeUTF(mPartStatStr);        out.writeBoolean(mNeedsReply.booleanValue());        out.writeInt(mSeqNo);        out.writeLong(mDtStamp);    }