示例#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());
 }
示例#2
0
 protected SteamUserInfoQuery(CustomDate customDate) : base(customDate)
 {
 }
示例#3
0
 public SteamUserInfo(CustomDate customDate)
 {
     CustomDate = customDate;
 }
示例#4
0
 public DailySteamUserInfo(CustomDate customDate) : base(customDate)
 {
 }