(a) An offense is committed either when every element occurs, or, if a legislative purpose to prohibit a continuing course of conduct plainly appears, at the time when the course of conduct or the defendant's complicity therein is terminated. Time starts to run on the day after the offense is committed.
(b) A prosecution is commenced either when an indictment is found or when a warrant is issued, provided that such warrant is executed without unreasonable delay.