* meta:creation-date}.
*
* @param creationDate the date and time need to set. NULL will remove the element from the meta.xml.
*/
public void setCreationDate(Calendar creationDate) {
MetaCreationDateElement creationDateEle = OdfElement.findFirstChildNode(MetaCreationDateElement.class,
mOfficeMetaElement);
if (creationDate == null) {
if (creationDateEle != null) {
mOfficeMetaElement.removeChild(creationDateEle);
}
} else {
if (creationDateEle == null) {
creationDateEle = mOfficeMetaElement.newMetaCreationDateElement();
}
creationDateEle.setTextContent(calendarToString(creationDate));
}
}