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