(a) For the purpose of determining whether an enlisted member of the Army may be retired under section
3914 or
3917 of this title, his years of service are computed by adding all active service in the armed forces and service computed under section
36831 of this title.