Beispiel #1
0
 internal void Copy( ECTime ToCopy )
 {
     // This won't be quite exact since it's to the nearest millisecond.
     UTCTime = new DateTime( ToCopy.GetYear(),
                     ToCopy.GetMonth(),
                     ToCopy.GetDay(),
                     ToCopy.GetHour(),
                     ToCopy.GetMinute(),
                     ToCopy.GetSecond(),
                     ToCopy.GetMillisecond(),
                     DateTimeKind.Utc ); // DateTimeKind.Local
 }