Date time index.indexer between time
- [ ] closes #xxxx
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [ ] whatsnew entry

Please take a look and let me know if things look fine, I'll make a whatsnew entry then :)

This PR has been made as per [this](https://github.com/pandas-dev/pandas/pull/43248#discussion_r701003907) suggestion by @attack68.
can you merge master and address comments I'm sorry for the absence! I'd been away due to some work.

@jreback I did leave a [comment in my OLD PR ](https://github.com/pandas-dev/pandas/pull/43248/) addressing why the tests are failing in THIS PR. Can you please take a look at it? I'm not sure what my course of action should be going ahead. > I'm sorry for the absence! I'd been away due to some work.
> 
> @jreback I did leave a [comment in my OLD PR ](https://github.com/pandas-dev/pandas/pull/43248/) addressing why the tests are failing in THIS PR. Can you please take a look at it? I'm not sure what my course of action should be going ahead.
you should be able to run this locally and reproduce Yes, indeed I can reproduce the failing test case locally. 

However, what I'm confused about is the absence of a code block from `pandas/core/generic.py` in the `master` branch. 

Can you please let me know why I can see the below code block in [this PR](https://github.com/pandas-dev/pandas/pull/43248/files#diff-1a2e3df0db7dd8bddc2ec4bff9de8a7a55e328e6c32e2cecde761dc9549fcd46), but NOT on the [master branch](https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py).?

```
            elif inclusive not in ["both", "neither", "left", "right"]:
                raise ValueError(
                    f"Inclusive has to be either string of 'both', "
                    f"'left', 'right', or 'neither'. Got {inclusive}."
                )
```

Edit: I'm not sure if this is a bad question but can you please address this @jreback This pull request is stale because it has been open for thirty days with no activity. Please update or respond to this comment if you're still interested in working on this. Yes I am willing.

> On Nov 5, 2021, at 1:04 AM, github-actions[bot] ***@***.***> wrote:
> 
> ﻿
> This pull request is stale because it has been open for thirty days with no activity. Please update or respond to this comment if you're still interested in working on this.
> 
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub, or unsubscribe.
> Triage notifications on the go with GitHub Mobile for iOS or Android. 
 @suyashgupta01 can you merge master and update to comments Thanks for the PR, but it appears to have gone stale. If you could merge master and address the reviews we would be happy to reopen. Closing.