how long the parties require to prepare their evidence and how they intend to present same.
In our experience each of the above points can be resolved by a scheduling conference to determine the problem. Once the problem is determined typically we schedule submissions from each party on one week intervals (or longer) with such submissions closing on Thursday. Unless the matter is complicated the parties can expect a decision removing the road block on Monday the following week.
A trial date is ordinarily determined as soon as the parties have completed discovery as this is the most time extensive activity.
If the parties agree earlier then certainly a trial date can be agreed in advance of discovery.