In any case where it shall become necessary, for the purposes of sections 88-131 to 88-142, to determine the compensation or average compensation of a member of the system during any period of the member's service in the armed forces, or during any period immediately thereafter while the member was not an employee as defined in section 88-21, the member's rate of compensation during the period shall, for the purposes of sections 88-131 to 88-142, be deemed to have been that which the member would have received but for the member's service in the armed forces.
HRS § 88-141