rem: printf("\Recurrence definition\n-- start time ---\n");
add: printf("Recurrence definition\n-- start time ---\n");
context: int tr_print(tmrec_p _trp){	static char *_wdays[] = {"SU", "MO", "TU", "WE", "TH", "FR", "SA"}; 	int i;		if(!_trp)	{		printf("\n(null)\n");		return -1;	}	printf("\Recurrence definition\n-- start time ---\n");	printf("Sys time: %d\n", (int)_trp->dtstart);	printf("Time: %02d:%02d:%02d\n", _trp->ts.tm_hour, 				_trp->ts.tm_min, _trp->ts.tm_sec);	printf("Date: %s, %04d-%02d-%02d\n", _wdays[_trp->ts.tm_wday],				_trp->ts.tm_year+1900, _trp->ts.tm_mon+1, _trp->ts.tm_mday);	printf("---\n");	printf("End time: %d\n", (int)_trp->dtend);	printf("Duration: %d\n", (int)_trp->duration);	printf("Until: %d\n", (int)_trp->until);	printf("Freq: %d\n", (int)_trp->freq);	printf("Interval: %d\n", (int)_trp->interval);	if(_trp->byday)	{		printf("Byday: ");		for(i=0; i<_trp->byday->nr; i++)			printf(" %d%s", _trp->byday->req[i], _wdays[_trp->byday->xxx[i]]);		printf("\n");	}	if(_trp->bymday)	{		printf("Bymday: %d:", _trp->bymday->nr);		for(i=0; i<_trp->bymday->nr; i++)			printf(" %d", _trp->bymday->xxx[i]*_trp->bymday->req[i]);		printf("\n");	}	if(_trp->byyday)	{		printf("Byyday:");		for(i=0; i<_trp->byyday->nr; i++)			printf(" %d", _trp->byyday->xxx[i]*_trp->byyday->req[i]);		printf("\n");	}	if(_trp->bymonth)	{		printf("Bymonth: %d:", _trp->bymonth->nr);		for(i=0; i< _trp->bymonth->nr; i++)			printf(" %d", _trp->bymonth->xxx[i]*_trp->bymonth->req[i]);		printf("\n");	}	if(_trp->byweekno)	{		printf("Byweekno: ");		for(i=0; i<_trp->byweekno->nr; i++)			printf(" %d", _trp->byweekno->xxx[i]*_trp->byweekno->req[i]);		printf("\n");	}	printf("Weekstart: %d\n", _trp->wkst);	return 0;}