예제 #1
0
        static public string ToMinutesSecondsMillisecondsString(this Duration item)
        {
            int minutes;
            int seconds;
            int milliseconds;

            item.GetMinutesSecondsMilliseconds(out minutes, out seconds, out milliseconds);

            return(minutes + ":" +
                   seconds.ToString("D2") + "." +
                   milliseconds.ToString("D3"));
        }