ried or heard by preference, in all courts, original or appellate, whether in or out of term time, and either in open court or chambers, at such time as may be fixed by the court, which shall be not less than two nor more than ten days after notice to the defendant or opposing party.