GetDayOfWeek() public method

public GetDayOfWeek ( System.DateTime time ) : DayOfWeek
time System.DateTime
return DayOfWeek
 public void PosTest3()
 {
     System.Globalization.Calendar kC = new KoreanCalendar();
     System.Globalization.Calendar gC = new GregorianCalendar();
     DateTime dateTime = new GregorianCalendar().ToDateTime(2000, 2, 29, 0, 0, 0, 0);
     DayOfWeek expectedValue;
     DayOfWeek actualValue;
     expectedValue = gC.GetDayOfWeek(dateTime);
     actualValue = kC.GetDayOfWeek(dateTime);
     Assert.Equal(expectedValue, actualValue);
 }
 public void PosTest4()
 {
     System.Globalization.Calendar kC = new KoreanCalendar();
     System.Globalization.Calendar gC = new GregorianCalendar();
     DateTime dateTime = new DateTime(_generator.GetInt64(-55) % (DateTime.MaxValue.Ticks + 1));
     dateTime = new GregorianCalendar().ToDateTime(dateTime.Year, dateTime.Month, dateTime.Day, 0, 0, 0, 0);
     DayOfWeek expectedValue;
     DayOfWeek actualValue;
     expectedValue = gC.GetDayOfWeek(dateTime);
     actualValue = kC.GetDayOfWeek(dateTime);
     Assert.Equal(expectedValue, actualValue);
 }