Example #1
0
 private List <DailySteamUserInfo> InnerQueryInfo(TimeRange year, TimeRange?month, TimeRange?day)
 {
     year = new TimeRange(year.StartTime % 100, year.EndTime % 100);
     return(DailyInfos.Where(k =>
     {
         CustomDate date = k.CustomDate;
         bool flag = date.Year >= year.StartTime && date.Year <= year.EndTime;
         if (!flag)
         {
             return false;
         }
         if (month != null)
         {
             flag = date.Month >= month.Value.StartTime && date.Month <= month.Value.EndTime;
         }
         if (!flag)
         {
             return false;
         }
         if (day != null)
         {
             flag = date.Day >= day.Value.StartTime && date.Day <= day.Value.EndTime;
         }
         return flag;
     }).ToList());
 }
Example #2
0
 protected SteamUserInfoQuery(CustomDate customDate) : base(customDate)
 {
 }
Example #3
0
 public SteamUserInfo(CustomDate customDate)
 {
     CustomDate = customDate;
 }
Example #4
0
 public DailySteamUserInfo(CustomDate customDate) : base(customDate)
 {
 }