package org.mxchange.jcontacts.contact;
import java.text.MessageFormat;
+import java.util.GregorianCalendar;
import java.util.Iterator;
import java.util.List;
import java.util.Objects;
}
// Set updated timestamp
- this.setAllContactPhoneEntriesUpdated(contact, isCellphoneUnlinked, isLandlineUnlinked, isFaxUnlinked);
+ contact.setContactUpdated(new GregorianCalendar());
+
+ // Detach all phone numbers
+ this.detachAllContactPhoneEntries(contact);
// Merge cellphone, land-line and fix
Contact detachedContact = this.mergeContactData(contact);