For purposes of Section 21624, 21626, 21627, 21629, or 21630, a surviving domestic partner shall be treated in the same manner as a surviving spouse if either:
(a)
The domestic partnership was registered for one year prior to the member’s service retirement date or at the disability retirement date and continuously until the date of the member’s death.
(b)
The member retired prior to January 1, 2006, and both the member and his or her domestic partner, who currently are in a state-registered domestic partnership, sign an affidavit stating that, at the time prescribed by the retirement system for married spouses to qualify for survivor continuance, the member and the domestic partner would have qualified to be registered as domestic partners pursuant to Section 297 of the Family Code.