I am retired from the USAF.
I feel comfortable using the same rules that apply to wearing a hat when in uniform.