Active service in the National Oceanic and Atmospheric Administration as a deck officer or junior engineer and active service counted on June 30, 1922, for longevity pay, shall be credited to commissioned officers as active commissioned service for purposes of retirement and retirement pay.