Confinement in prison
(1) For the purposes of this Act, the period during which a person is confined to a prison includes a period:
(a) during which the person is an escapee from the prison; or
(b) during which the person is undergoing a sentence of periodic detention in the prison.
(2) For the purposes of this Act, the period during which a person is confined to a prison does not include a period during which the person has been so confined by reason only of the person serving a sentence relating to a conviction that is later quashed.
Confinement in psychiatric institution
(3) For the purposes of this Act, the period during which a person is confined in a psychiatric institution by order of a court includes a period during which the person is an escapee from the institution.