Gravar-mail: Assessment of critical exposure and outcome windows in time-to-event analysis with application to air pollution and preterm birth study