In general
The term “qualified rollover contribution” includes a contribution to a Roth IRA maintained for the benefit of an individual made before the end of the 1-year period beginning on the date on which such individual receives an amount under section 1477 of title 10 , United States Code, or section 1967 of title 38 of such Code, with respect to a person, to the extent that such contribution does not exceed—
(i)#
the sum of the amounts received during such period by such individual under such sections with respect to such person, reduced by
(ii)#
the amounts so received which were contributed to a Coverdell education savings account under section 530(d)(9).