woom.util.WoomDate.fold

Contents

woom.util.WoomDate.fold#

WoomDate.fold#

Return the fold value of the Timestamp.

Returns:

The fold value of the Timestamp, where 0 indicates the first occurrence of the ambiguous time, and 1 indicates the second.

Return type:

int

See also

Timestamp.dst

Return the daylight saving time (DST) adjustment.

Timestamp.tzinfo

Return the timezone information associated.

Examples

>>> ts = pd.Timestamp("2024-11-03 01:30:00")
>>> ts.fold
0