When a person is, by reason of the existence of a state of war, under a disability to commence an action, the time of the continuance of such disability is not part of the period limited for the commencement of the action whether such cause of action shall have accrued prior to or during the period of such disability.