tour of duty

noun

1.
a period of time spent in military service