PeriodIndex.
days_in_month
The number of days in the month.
pandas.PeriodIndex.dayofyear
pandas.PeriodIndex.daysinmonth