Simple "return time < changes.End && time >= changes.End - changes.Delta;" is better