public static HasDaylightSavingChanged ( DateTime dt, Location location ) : bool | ||
dt | DateTime | |
location | Location | |
리턴 | bool |
public void DalylightSavingChanged_london_active() { Assert.True( Appointment.HasDaylightSavingChanged(new DateTime(2019, 4, 1, 0, 0, 0), Location.London)); }
public void DalylightSavingChanged_newyork_no_change() { Assert.False( Appointment.HasDaylightSavingChanged(new DateTime(2019, 12, 25, 0, 0, 0), Location.NewYork)); }
public void DalylightSavingChanged_newyork_inactive() { Assert.True( Appointment.HasDaylightSavingChanged(new DateTime(2019, 11, 7, 0, 0, 0), Location.NewYork)); }
public void DalylightSavingChanged_paris_no_change() { Assert.False( Appointment.HasDaylightSavingChanged(new DateTime(2019, 12, 25, 0, 0, 0), Location.Paris)); }
public void DalylightSavingChanged_paris_inactive() { Assert.True( Appointment.HasDaylightSavingChanged(new DateTime(2019, 10, 29, 0, 0, 0), Location.Paris)); }
public void DaylightSavingChanged_london_no_change() { Assert.False( Appointment.HasDaylightSavingChanged(new DateTime(2019, 12, 25, 0, 0, 0), Location.London)); }