Exemple #1
0
 public bool IsBeforeMe(IDateProvider <DateTime, Trigger, StrongString> provider)
 {
     if (provider.IsUnlimited)
     {
         return(false);
     }
     return(dateTime < provider.GetDateTime());
 }
Exemple #2
0
 public bool IsEqual(IDateProvider <DateTime, Trigger, StrongString> provider)
 {
     if (IsUnlimited == provider.IsUnlimited)
     {
         return(true);
     }
     return(dateTime == provider.GetDateTime());
 }