Пример #1
0
 private void updateArrival(ArrivalViewModel arrival, TimeSpan walkTime)
 {
     arrival.WhenINeedToLeave = (int)((arrival.ArrivalTime - DateTime.Now - walkTime + TimeSpan.FromSeconds(1)).TotalMinutes);
 }
Пример #2
0
 private void updateArrival(ArrivalViewModel arrival, TimeSpan walkTime)
 {
     arrival.WhenINeedToLeave = (int)((arrival.ArrivalTime - DateTime.Now - walkTime + TimeSpan.FromSeconds(1)).TotalMinutes);
 }