def mask_between_time(dts, start, end, include_start=True, include_end=True):
 time_micros = dts._get_time_micros()
 start_micros = _time_to_micros(start)
 end_micros = _time_to_micros(end)
 (left_op, right_op, join_op) = _opmap[(bool(include_start), bool(include_end), (start_micros <= end_micros))]
 return join_op(left_op(start_micros, time_micros), right_op(time_micros, end_micros))

def mask_between_time ( dts , start , end , include_start = True , include_end = True ) : time_micros = dts . _get_time_micros ( ) start_micros = _time_to_micros ( start ) end_micros = _time_to_micros ( end ) ( left_op , right_op , join_op ) = _opmap [ ( bool ( include_start ) , bool ( include_end ) , ( start_micros <= end_micros ) ) ] return join_op ( left_op ( start_micros , time_micros ) , right_op ( time_micros , end_micros ) )
return a mask of all of the datetimes in dts that are between start and end .