Example #1
0
 public bool Appart(DateRange p){
     if (Start > p.Finish){
         return true;
     }
     if (Finish < p.Start){
         return true;
     }
     return false;
 }
Example #2
0
 public void Merge(DateRange p){
     if (Appart(p)){
         return;
     }
     Start = Start > p.Start ? p.Start : Start;
     Finish = Finish < p.Finish ? p.Finish : Finish;
 }
Example #3
0
 public OperationLog(){
     Range = new DateRange(DateExtensions.Begin, DateExtensions.End);
 }