In this subtitle, “term of confinement” means:
(1) the length of the sentence, for a single sentence; or
(2) the period from the first day of the sentence that begins first through the last day of the sentence that ends last, for:
(i) concurrent sentences;
(ii) partially concurrent sentences;
(iii) consecutive sentences; or
(iv) a combination of concurrent and consecutive sentences.