Пример #1
0
 public PayloadTime(DateTime previousPayloadAt)
 {
     At = DateTime.UtcNow;
     PercentOfSecond = (At.Subtract(previousPayloadAt.ToUniversalTime()).Milliseconds / 1000.0);
     Elapsed         = At - previousPayloadAt;
 }