Provisions of law relating to retired pay for nonregular service are set forth in chapter 1223 of this title (beginning with section 12731).