コード例 #1
0
        // Add*Internal methods add values assuming that the TimeOfDay is in UTC and that
        // the values to be added are whole numbers (double type is used instead of int
        // to allow larger values and avoid unnecessary casting).

        private TimeOfDay AddMillisecondsInternal(double milliseconds)
        {
            return(new TimeOfDay(BaseValue.AddMilliseconds(milliseconds), m_microsecond,
                                 m_nanosecond));
        }