SIL.FieldWorks.Filters.DateTimeMatcher.SameMatcher C# (CSharp) Method

SameMatcher() public method

public SameMatcher ( IMatcher other ) : bool
other IMatcher
return bool
		public override bool SameMatcher(IMatcher other)
		{
			DateTimeMatcher dtOther = other as DateTimeMatcher;
			if (dtOther == null)
				return false;
			return m_end == dtOther.m_end &&
				m_start == dtOther.m_start &&
				m_type == dtOther.m_type &&
				HandleGenDate == dtOther.HandleGenDate &&
				(HandleGenDate ? (IsStartAD == dtOther.IsStartAD && IsEndAD == dtOther.IsEndAD &&
					UnspecificMatching == dtOther.UnspecificMatching) : true);
		}