Beispiel #1
0
        public TimeOfDay Add(TimeSpan timeSpan)
        {
            TimeOfDay result = new TimeOfDay(BaseValue.Add(timeSpan.ToSystemTimeSpan()),
                                             m_microsecond, m_nanosecond);

            result = result.AddMicrosecondsInternal(timeSpan.Microseconds);
            result = result.AddNanosecondsInternal(timeSpan.Nanoseconds);

            return(result.CheckForWrapAround());
        }