static char temp[256]; int n = sprintf(temp,"Historical data from %s", DateFormatter::toString(self->firstDate()).c_str()); sprintf(temp+n," to %s", DateFormatter::toString(self->lastDate()).c_str()); return temp;
return "Historical data from " + DateFormatter::toString(self->firstDate()) + " to "+ DateFormatter::toString(self->lastDate());
char * History___str__(History *self) {    {        static char temp[256];        int n = sprintf(temp,"Historical data from %s", DateFormatter::toString(self->firstDate()).c_str());        sprintf(temp+n," to %s", DateFormatter::toString(self->lastDate()).c_str());        return temp;    }}