woom.util.WoomDate.is_quarter_end

woom.util.WoomDate.is_quarter_end#

WoomDate.is_quarter_end#

Check if date is last day of the quarter.

Returns:

True if date is last day of the quarter.

Return type:

bool

See also

Timestamp.is_quarter_start

Similar property indicating the quarter start.

Timestamp.quarter

Return the quarter of the date.

Examples

>>> ts = pd.Timestamp(2020, 3, 14)
>>> ts.is_quarter_end
False
>>> ts = pd.Timestamp(2020, 3, 31)
>>> ts.is_quarter_end
True