This figure shows a time frame of 12AM to 12PM, and contains three windows that overlap. The windows are set to run as follows:

The accompanying text describes how precedence is decided.