* meta:print-date}.
*
* @param printDate the date and time need to set. NULL will remove the element from the meta.xml.
*/
public void setPrintDate(Calendar printDate) {
MetaPrintDateElement printDateEle = OdfElement.findFirstChildNode(
MetaPrintDateElement.class, mOfficeMetaElement);
if (printDate == null) {
if (printDateEle != null) {
mOfficeMetaElement.removeChild(printDateEle);
}
} else {
if (printDateEle == null) {
printDateEle = mOfficeMetaElement.newMetaPrintDateElement();
}
printDateEle.setTextContent(calendarToString(printDate));
}
}