vendredi 28 mai 2010

Given two events, each with a start and end time, implement a boolean check to see if they overlap


if t1.start < t2.end and t2.start < t1.end
return true
else
return false

Aucun commentaire:

Enregistrer un commentaire