rhs->tm_gmtoff, h_offset, m_offset);
GMTOFF(rhs), h_offset, m_offset);
ha_set_tm_time(ha_time_t *lhs, struct tm *rhs){	int wday = rhs->tm_wday;	int h_offset = 0;	int m_offset = 0;		if(rhs->tm_year > 0) {		/* years since 1900 */		lhs->years = 1900 + rhs->tm_year;		lhs->has->years = TRUE;	}	if(rhs->tm_yday > 0) {		/* days since January 1 [0-365] */		lhs->yeardays = 1 + rhs->tm_yday;		lhs->has->yeardays =TRUE;	}	if(rhs->tm_hour >= 0) {		lhs->hours = rhs->tm_hour;		lhs->has->hours =TRUE;	}	if(rhs->tm_min >= 0) {		lhs->minutes = rhs->tm_min;		lhs->has->minutes =TRUE;	}	if(rhs->tm_sec >= 0) {		lhs->seconds = rhs->tm_sec;		lhs->has->seconds =TRUE;	}	convert_from_ordinal(lhs);	/* months since January [0-11] */	CRM_DEV_ASSERT(rhs->tm_mon < 0  || lhs->months == (1 + rhs->tm_mon));	/* day of the month [1-31] */	CRM_DEV_ASSERT(rhs->tm_mday < 0 || lhs->days == rhs->tm_mday);	/* days since Sunday [0-6] */	if(wday == 0) {		wday= 7;	}	CRM_DEV_ASSERT(rhs->tm_wday < 0 || lhs->weekdays == wday);		CRM_DEV_ASSERT(lhs->offset != NULL);	CRM_DEV_ASSERT(lhs->offset->has != NULL);	/* tm_gmtoff == offset from UTC in seconds */	h_offset = rhs->tm_gmtoff / (3600); 	m_offset = (rhs->tm_gmtoff - (3600 * h_offset)) / (60);	crm_debug_6("Offset (s): %ld, offset (hh:mm): %.2d:%.2d",		    rhs->tm_gmtoff, h_offset, m_offset);		lhs->offset->hours = h_offset;	lhs->offset->has->hours = TRUE;	lhs->offset->minutes = m_offset;	lhs->offset->has->minutes = TRUE;	normalize_time(lhs);}