Esempio n. 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);
        }
Esempio n. 2
0
 public EntryCollection GetEntriesForMonth(DateTime date, string acceptLanguages)
 {
     return(dataService.GetEntriesForMonth(date, dasBlogSettings.GetConfiguredTimeZone(), acceptLanguages));
 }