period of service cannot include any service performed by a member of a uniformed service who is—
1.) ordered to or retained on active duty under certain statutory provisions.
2.) ordered to or retained on active duty (other than for training) under any provision of law because of a war or national emergency declared by the President or the Congress, as determined by the Secretary concerned.
3.) ordered to active duty (other than for training) in support, as determined by the Secretary concerned, of an operational mission for which personnel have been ordered to active duty.
4.) ordered to active duty in support, as determined by the Secretary concerned, of a critical mission or requirement of the uniformed services.
5.) called into federal service as a member of the National Guard.