示例#1
0
 public bool UpdateNeeded(Week week)
 {
     return(!UpdateLog.ContainsKey(week) || DateTime.UtcNow - UpdateLog[week] > UpdateInterval);
 }