The trial of a criminal proceeding shall be deemed to commence and terminate at the times or on the occurrence of events prescribed by general rules.