Terminal handling
A container is manifested before it arrives, gated into the yard, and later lifted out onto its ship. Those three moments are the ones the terminal dates, and the interval between the second and third is the dwell time the box spent waiting in the yard.