Retirement tax questions

on another HSA and Medicare post I found that the max contribution is pro-rated for the number of months I have a HDHP on the first day of those months.  So in my case I can contribute 7/12ths of the annual maximum contribution.