Jobs now use Timespan rather than integer to represent minutes.

This commit is contained in:
kay.one 2012-01-14 18:47:23 -08:00
commit e358ad6d87
24 changed files with 60 additions and 55 deletions

View file

@ -1,4 +1,5 @@
using System.Linq;
using System;
using System.Linq;
using NzbDrone.Core.Model.Notification;
namespace NzbDrone.Core.Jobs
@ -17,7 +18,7 @@ namespace NzbDrone.Core.Jobs
/// </summary>
/// <remarks>Setting this value to 0 means the job will not be
/// executed by the schedule and is only triggered manually.</remarks>
int DefaultInterval { get; }
TimeSpan DefaultInterval { get; }
/// <summary>