def create_dates_vector(self,start_date, end_date, coocurring_precision):
		if coocurring_precision==MatrixFeatureTransformer.hour_precision:
			start_date = DateTimeUtils.round_to_the_hour_before(start_date)
			end_date = DateTimeUtils.round_to_the_hour_after(end_date)
			time_vector = DateTimeUtils.hours_between(start_date , end_date)
			
		
		elif coocurring_precision == MatrixFeatureTransformer.quarter_hour_precision:
			start_date = DateTimeUtils.round_to_the_hour_before(start_date)
			end_date = DateTimeUtils.round_to_the_hour_after(end_date)
			time_vector = DateTimeUtils.quarterhours_between(start_date , end_date)[0:-1]
			#print time_vector
		
		
			
			
			
		
		else:
			raise Exception("NOT IMPLEMENTED EXCEPTION : Branch coocurring_precision "+coocurring_precision+" not yet implemented ")
			
		print "start_date "+str(start_date)
		print "end_date "+str(end_date)
		print coocurring_precision
		print "number of date values "+str(len(time_vector))
			
		return time_vector
    def create_dates_vector(self, start_date, end_date, coocurring_precision):
        if coocurring_precision == MatrixFeatureTransformer.hour_precision:
            start_date = DateTimeUtils.round_to_the_hour_before(start_date)
            end_date = DateTimeUtils.round_to_the_hour_after(end_date)
            time_vector = DateTimeUtils.hours_between(start_date, end_date)
            return time_vector

        elif coocurring_precision == MatrixFeatureTransformer.quarter_hour_precision:
            start_date = DateTimeUtils.round_to_the_hour_before(start_date)
            end_date = DateTimeUtils.round_to_the_hour_after(end_date)
            time_vector = DateTimeUtils.quarterhours_between(
                start_date, end_date)[0:-1]

            return time_vector

        else:
            raise Exception(
                "NOT IMPLEMENTED EXCEPTION : Branch coocurring_precision " +
                coocurring_precision + " not yet implemented ")