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 Update(this LazyScheduler item, long target_frame_milliseconds)
 {
     item.Update(target_frame_milliseconds, Duration.Days(1.0f).GetWholeMilliseconds());
 }