예제 #1
0
        public void BlogDataService_ArchiveMonthSearch_Successful(IBlogDataService blogdataservice)
        {
            var dt      = new DateTime(2004, 3, 1);
            var entries = blogdataservice.GetEntriesForMonth(dt, DateTimeZone.Utc, "");

            Assert.Equal(5, entries.Count);
        }
예제 #2
0
 public EntryCollection GetEntriesForMonth(DateTime date, string acceptLanguages)
 {
     return(dataService.GetEntriesForMonth(date, dasBlogSettings.GetConfiguredTimeZone(), acceptLanguages));
 }