public override int GetHashCode() { unchecked { return(((JobType != null ? JobType.GetHashCode() : 0) * 397) ^ NextTime.GetHashCode()); } }
/// <summary> /// get string presentation of this instance /// </summary> /// <returns></returns> public override string ToString() { return(string.Format("Interval=[{10}d {0}h {1}m {2}s] \nstart={6} \n next={7} \ninterval={9} \nRoundOff[h={3} m={4} s={5} i={8}]", Hour, Minute, Second, RoundOffHour, RoundOffMinute, RoundOffSecond, StartTime.ToString("s"), NextTime.ToString("s"), RoundOffInterval, Interval, Day)); }
protected bool Equals(JobStatus other) { return(string.Equals(JobType, other.JobType) && NextTime.Equals(other.NextTime)); }