File tree 3 files changed +16
-1
lines changed
3 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -253,7 +253,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
253
253
-i " pandas.Timestamp.ctime SA01" \
254
254
-i " pandas.Timestamp.date SA01" \
255
255
-i " pandas.Timestamp.day GL08" \
256
- -i " pandas.Timestamp.dst SA01" \
257
256
-i " pandas.Timestamp.floor SA01" \
258
257
-i " pandas.Timestamp.fold GL08" \
259
258
-i " pandas.Timestamp.fromordinal SA01" \
Original file line number Diff line number Diff line change @@ -542,6 +542,14 @@ class NaTType(_NaT):
542
542
"""
543
543
Return the daylight saving time (DST) adjustment.
544
544
545
+ This method returns the DST adjustment as a `datetime.timedelta` object
546
+ if the Timestamp is timezone-aware and DST is applicable.
547
+
548
+ See Also
549
+ --------
550
+ Timestamp.tz_localize : Localize the Timestamp to a timezone.
551
+ Timestamp.tz_convert : Convert timezone-aware Timestamp to another time zone.
552
+
545
553
Examples
546
554
--------
547
555
>>> ts = pd.Timestamp('2000-06-01 00:00:00', tz='Europe/Brussels')
Original file line number Diff line number Diff line change @@ -1669,6 +1669,14 @@ class Timestamp(_Timestamp):
1669
1669
"""
1670
1670
Return the daylight saving time (DST) adjustment.
1671
1671
1672
+ This method returns the DST adjustment as a `datetime.timedelta` object
1673
+ if the Timestamp is timezone-aware and DST is applicable.
1674
+
1675
+ See Also
1676
+ --------
1677
+ Timestamp.tz_localize : Localize the Timestamp to a timezone.
1678
+ Timestamp.tz_convert : Convert timezone-aware Timestamp to another time zone.
1679
+
1672
1680
Examples
1673
1681
--------
1674
1682
>>> ts = pd.Timestamp('2000-06-01 00:00:00', tz='Europe/Brussels')
You can’t perform that action at this time.
0 commit comments