public bool IsOverlapping(Timespan timespan) { if ((this.start > timespan.start && timespan.start < this.end) || (this.start < timespan.end && timespan.end < this.end)) { return(true); } else { return(false); } }
public bool Includes(Timespan timespan) { if (this.start <= timespan.start && this.end >= timespan.end) { return(true); } else { return(false); } }
public bool Includes(Timespan timespan) { if (this.start <= timespan.start && this.end >= timespan.end) { return true; } else { return false; } }
public bool IsOverlapping(Timespan timespan) { if ((this.start > timespan.start && timespan.start < this.end) || (this.start < timespan.end && timespan.end < this.end)) { return true; } else { return false; } }
public TimespanValue(Timespan timespan, double value) : this() { this.startTime = timespan.Start; this.endTime = timespan.End; this.val = value; }