File tree 2 files changed +11
-1
lines changed
2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -259,7 +259,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
259
259
-i " pandas.Timestamp.fromordinal SA01" \
260
260
-i " pandas.Timestamp.fromtimestamp PR01,SA01" \
261
261
-i " pandas.Timestamp.hour GL08" \
262
- -i " pandas.Timestamp.is_leap_year SA01" \
263
262
-i " pandas.Timestamp.isocalendar SA01" \
264
263
-i " pandas.Timestamp.isoweekday SA01" \
265
264
-i " pandas.Timestamp.max PR02" \
Original file line number Diff line number Diff line change @@ -820,9 +820,20 @@ cdef class _Timestamp(ABCTimestamp):
820
820
"""
821
821
Return True if year is a leap year.
822
822
823
+ A leap year is a year , which has 366 days (instead of 365) including 29th of
824
+ February as an intercalary day. Leap years are years which are multiples of
825
+ four with the exception of years divisible by 100 but not by 400.
826
+
823
827
Returns
824
828
-------
825
829
bool
830
+ True if year is a leap year , else False
831
+
832
+ See Also
833
+ --------
834
+ Period.is_leap_year : Return True if the period’s year is in a leap year.
835
+ DatetimeIndex.is_leap_year : Boolean indicator if the date belongs to a
836
+ leap year.
826
837
827
838
Examples
828
839
--------
You can’t perform that action at this time.
0 commit comments