End of month boundaries: end date 29 through 31
If the end date is 29 through 31, then the end dates of the each previous month will be the same corresponding day of the month unless a month is short and lacks that day of the month. In that case the end date for the short month will be the last calendar day of the month in that month.
If a month end date reverts to the last day because the month is short of days, then the month end of the month previous to the shortened month will recover the lost end days. This behavior holds true in the trend within monthly subgroups of rolling monthly periods as well as in trends of a series of months.
For example, if the end date is 3/31, then the end dates of previous months will be 2/28, 1/31, 12/31, 11/30, 10/31, etc.
*