When a stopwatch started, the pressure inside a gas container was \(4.2\) atm (standard atmospheric pressure). As the container was heated, the pressure increased by \(0.7\) atm per minute. The maximum pressure the container can handle was \(21.7\) atm. Heating must be stopped once the pressure reaches \(21.7\) atm. In what time interval was the container safe?