Sinbadsoft.Lib.UserManagement.VerificationToken.IsFresh C# (CSharp) 메소드

IsFresh() 공개 메소드

public IsFresh ( System.TimeSpan span, System.DateTime now ) : bool
span System.TimeSpan
now System.DateTime
리턴 bool
        public bool IsFresh(TimeSpan span, DateTime now)
        {
            return now.Subtract(span) <= this.Timestamp;
        }

Same methods

VerificationToken::IsFresh ( int days ) : bool