Skip to content

Commit 61f61c3

Browse files
authored
add some properties to Timestamp (#46761)
1 parent f9810c7 commit 61f61c3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

pandas/_libs/tslibs/timestamps.pyi

+8
Original file line numberDiff line numberDiff line change
@@ -199,10 +199,14 @@ class Timestamp(datetime):
199199
@property
200200
def day_of_week(self) -> int: ...
201201
@property
202+
def dayofweek(self) -> int: ...
203+
@property
202204
def day_of_month(self) -> int: ...
203205
@property
204206
def day_of_year(self) -> int: ...
205207
@property
208+
def dayofyear(self) -> int: ...
209+
@property
206210
def quarter(self) -> int: ...
207211
@property
208212
def week(self) -> int: ...
@@ -211,3 +215,7 @@ class Timestamp(datetime):
211215
) -> np.datetime64: ...
212216
@property
213217
def _date_repr(self) -> str: ...
218+
@property
219+
def days_in_month(self) -> int: ...
220+
@property
221+
def daysinmonth(self) -> int: ...

0 commit comments

Comments
 (0)