Checking and Calculating the Shelf Life Expiration Date
The delicatessen company Plentyland has specified that quiches received from its suppliers must have a minimum remaining shelf life of 40 days. The total shelf life of the quiches is 50 days.
Gourmet, a quiche manufacturer, produces quiches on 01.07. The total shelf life of 50 days means the SLED would be 20.08.
On 10.07, Gourmet
delivers a batch of quiches produced on 01.07 with 20.08 as SLED. The system thus accepts the batch, as it leaves a minimum remaining shelf life of 40 days.Due to internal problems Gourmet do not deliver the second batch of quiches produced on 02.07 (SLED = 21.08) until 25.07. The system does not accept this second batch, since it only leaves them with a remaining shelf life of 27 days, instead of the stipulated 40 days.