return false on illegal timespan