Change of law during 12-month period
Whenever—
(1)#
any provision of this section, section 3302, or section 3303 refers to a 12-month period ending on October 31 of a year, and
(2)#
the law applicable to one portion of such period differs from the law applicable to another portion of such period,
then such provision shall be applied by taking into account for each such portion the law applicable to such portion.