def shift_dates(self,h):		

		date_index = self.index.copy()

		if self.model_type == 'VAR':
			date_index = date_index[self.max_lag:len(self.data[0])]
		else:
			date_index = date_index[self.max_lag:len(self.data)]

		for t in range(h):
			if self.data_type == 'pandas':
				# Only configured for days - need to support smaller time intervals!
				date_index += pd.DateOffset((date_index[len(date_index)-1] - date_index[len(date_index)-2]).days)
			elif self.data_type == 'numpy':
				date_index.append(date_index[len(date_index)-1]+1)

		return date_index
Auxiliary function for creating dates for forecasts
dataset/ETHPy150Open RJT1990/pyflux/pyflux/tsm.py/TSM.shift_dates