GLUE_SYM (DateFormat ) :: GLUE_SYM(DateFormat) ( UDateFormat* tn) : _this(tn) { UErrorCode status = U_ZERO_ERROR; adoptCalendar(new GregorianCalendar(status)); }
//---------------------------------------------------------------------- void DateFormat::setCalendar(const Calendar& newCalendar) { Calendar* newCalClone = newCalendar.clone(); if (newCalClone != NULL) { adoptCalendar(newCalClone); } }
//---------------------------------------------------------------------- void DateFormat::setCalendar(const Calendar& newCalendar) { adoptCalendar(newCalendar.clone()); }