Itenso.TimePeriodTests.SchoolDay.SchoolDay C# (CSharp) 메소드

SchoolDay() 공개 메소드

public SchoolDay ( System.DateTime moment ) : System
moment System.DateTime
리턴 System
        public SchoolDay( DateTime moment )
        {
            Lesson1 = new Lesson( moment );
            Break1 = new ShortBreak( moment );
            Lesson2 = new Lesson( moment );
            Break2 = new LargeBreak( moment );
            Lesson3 = new Lesson( moment );
            Break3 = new ShortBreak( moment );
            Lesson4 = new Lesson( moment );

            base.Add( Lesson1 );
            base.Add( Break1 );
            base.Add( Lesson2 );
            base.Add( Break2 );
            base.Add( Lesson3 );
            base.Add( Break3 );
            base.Add( Lesson4 );
        }

Same methods

SchoolDay::SchoolDay ( IClock clock = null ) : System