(b) Right of alien. Where a person is unable to commence an action in the courts of the state because any party is an alien subject or citizen of a foreign country at war with the United States or any of its allies, whether the cause of action accrued during or prior to the war, the time which elapsed between the commencement of the war and the termination of hostilities with such country is not a part of the time within which the action must be commenced.
(c) Non-enemy in enemy country or enemy-occupied territory. Where a person entitled to commence an action, other than a person entitled to the benefits of subdivision (b), is a resident of, or a sojourner in, a foreign country with which the United States or any of its allies are at war, or territory occupied by the government of such foreign country, the period of such residence or sojourn during which the war continues or the territory is so occupied is not a part of the time within which the action must be commenced.