Example #1
0
        static public string ToHoursMinutesString(this Duration item)
        {
            int hours;
            int minutes;

            item.GetHoursMinutes(out hours, out minutes);

            return(hours + ":" +
                   minutes.ToString("D2"));
        }