What maximum period does Abu Hanifah permit?

Khiyar al-Shart: Duration, Ownership, Rescission and Stipulated Attributes