Beispiel #1
0
        static public int GetWholeDays(this Duration item, out Duration remainder)
        {
            int whole_days = item.GetWholeDays();

            remainder = item - Duration.Days(whole_days);
            return(whole_days);
        }
Beispiel #2
0
 static public void GetDaysHoursMinutesSeconds(this Duration item, out int days, out int hours, out int minutes, out int seconds)
 {
     days    = item.GetWholeDays(out item);
     hours   = item.GetWholeHours(out item);
     minutes = item.GetWholeMinutes(out item);
     seconds = item.GetWholeSeconds(out item);
 }
Beispiel #3
0
 static public void GetDaysHours(this Duration item, out int days, out int hours)
 {
     days  = item.GetWholeDays(out item);
     hours = item.GetWholeHours(out item);
 }