Section 1115 of the National Defense Authorization Act of 2008 Ensures retirement service credit
"(Sec. 1115) Ensures retirement service credit for service as a cadet or midshipman at a military service academy."
go here to the Library of Congress and find section 1115...