DDay.iCal.Event.OccursAt C# (CSharp) 메소드

OccursAt() 공개 메소드

Use this method to determine if an event begins at a given date and time.
public OccursAt ( IDateTime DateTime ) : bool
DateTime IDateTime The date and time to test.
리턴 bool
        virtual public bool OccursAt(IDateTime DateTime)
        {
            foreach (IPeriod p in m_Evaluator.Periods)
                if (p.StartTime.Equals(DateTime))
                    return true;
            return false;
        }