Adding new variables for docstring
- [ ] closes #48632 
- [ ] ~~[Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature~~
- [ ] ~~All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).~~
- [ ] ~~Added [type annotations](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#type-hints) to new arguments/methods/functions.~~
- [ ] ~~Added an entry in the latest `doc/source/whatsnew/vX.X.X.rst` file if fixing a bug or adding a new feature.~~

I am creating this PR to get comments on whether this solution is correct or not.

**Solution -** The Timestamp class is inheriting from datetime. Values of `month`, `day`, `hour`, `minute`, `second` and `microsecond` variables are used of that of datetime class. To add the docstring, I am proposing to create one new variable for each. I have added a variable for `hour` as an example.

I don't know whether it will affect performance and memory usage. Do we have some existing mechanism to measure it and then compare with old results?
@phofl Thanks for the feedback. I am closing this PR, to search for some other way to add docstring.