At what time does a contract end?