GetAlertTime() 공개 정적인 메소드

public static GetAlertTime ( DateTime appointment, AlertLevel alertLevel ) : DateTime
appointment DateTime
alertLevel AlertLevel
리턴 DateTime
예제 #1
0
 public void GetAlertTime_standard()
 {
     Assert.Equal(new DateTime(2019, 07, 25, 14, 15, 0),
                  Appointment.GetAlertTime(new DateTime(2019, 7, 25, 16, 0, 0),
                                           AlertLevel.Standard));
 }
예제 #2
0
 public void GetAlertTime_late()
 {
     Assert.Equal(new DateTime(2019, 07, 25, 15, 30, 0),
                  Appointment.GetAlertTime(new DateTime(2019, 7, 25, 16, 0, 0),
                                           AlertLevel.Late));
 }
예제 #3
0
 public void GetAlertTime_early()
 {
     Assert.Equal(new DateTime(2019, 07, 24, 16, 0, 0),
                  Appointment.GetAlertTime(new DateTime(2019, 7, 25, 16, 0, 0),
                                           AlertLevel.Early));
 }