public bool Equals(EffectDate other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(base.Equals(other) && other.m_day == m_day && other.m_hour == m_hour && other.m_minute == m_minute && other.m_month == m_month && other.m_year == m_year); }
public EffectDate(EffectDate copy) : this(copy.Id, copy.m_year, copy.m_month, copy.m_day, copy.m_hour, copy.m_minute, copy) { }
public bool Equals(EffectDate other) { if (ReferenceEquals(null, other)) return false; if (ReferenceEquals(this, other)) return true; return base.Equals(other) && other.m_day == m_day && other.m_hour == m_hour && other.m_minute == m_minute && other.m_month == m_month && other.m_year == m_year; }