Timestamp.
is_quarter_end
Return True if date is last day of the quarter.
pandas.Timestamp.is_month_start
pandas.Timestamp.is_quarter_start