Exemplo n.º 1
0
 private void updateArrival(ArrivalViewModel arrival, TimeSpan walkTime)
 {
     arrival.WhenINeedToLeave = (int)((arrival.ArrivalTime - DateTime.Now - walkTime + TimeSpan.FromSeconds(1)).TotalMinutes);
 }
Exemplo n.º 2
0
 private void updateArrival(ArrivalViewModel arrival, TimeSpan walkTime)
 {
     arrival.WhenINeedToLeave = (int)((arrival.ArrivalTime - DateTime.Now - walkTime + TimeSpan.FromSeconds(1)).TotalMinutes);
 }