public IUnutilizedTime Calculate(
     IUnutilizedTimeFactory unutilizedTimeFactory,
     ITotalTime totalTime,
     IUtilizedTime utilizedTime)
 {
     return(unutilizedTimeFactory.Create(
                totalTime.Value
                -
                utilizedTime.Value));
 }
        public IUnutilizedTimeFactory CreateUnutilizedTimeFactory()
        {
            IUnutilizedTimeFactory factory = null;

            try
            {
                factory = new UnutilizedTimeFactory();
            }
            catch (Exception exception)
            {
                this.Log.Error(
                    exception.Message,
                    exception);
            }

            return(factory);
        }