Except as otherwise provided by law, a petition for a writ of habeas corpus, mandamus, or quo warranto shall be assigned for hearing not less than two or more than ten days after the service of the writ; but, upon proper showing, the court may assign the matter for hearing less than two days after the service of the writ.
La. C.P. § 3782