All three. Generally it is the first available slot, however, should that be inconvenient for either the prosecution/defence they negotiate a date that is convenient for everyone. It also depends if all housekeeping is in order, like briefs of evidence sent/received, no discrepancies in materials, or amendments required, the list can be exhaustive and tactical depending on legal team plan of attack.
Sometimes a situation is running very hot in the media, so counsel slow it down and try to extend time frames so its not as fresh in the communities mind. Counsel are very thoughtful about every move they make.
I swear Des should have thought of a legal career, he would not be out of place 🙂