Esempio n. 1
0
 /// <summary>
 /// return if this instance can Contain an other instance
 /// </summary>
 public bool contain(DayWork obj)
 {
     return(obj.begin.sumMinuts() - begin.sumMinuts() >= 0 && obj.end.sumMinuts() - end.sumMinuts() <= 0);
 }
Esempio n. 2
0
 /// <summary>
 /// return number that use to compareble
 /// </summary>
 public int Fixed(DayWork obj)
 {
     return(obj.sumMinuts - sumMinuts);
 }