The flag should fly at half-staff for 30 days at all federal buildings, grounds, and naval vessels throughout the United States and its territories and possessions after the death of the president or a former president.