3 #include "UIxCalWeekView.h"
6 @implementation UIxCalWeekView
8 - (NSCalendarDate *)startDate {
9 return [[[super startDate] mondayOfWeek] beginOfDay];
12 - (NSCalendarDate *)endDate {
15 if([self shouldDisplayWeekend])
19 return [[[self startDate] dateByAddingYears:0 months:0 days:offset
20 hours:0 minutes:0 seconds:0]
24 - (NSArray *)appointments {
25 return [self fetchCoreInfos];
30 - (NSDictionary *)prevWeekQueryParameters {
33 date = [[self startDate] dateByAddingYears:0 months:0 days:-7
34 hours:0 minutes:0 seconds:0];
35 return [self queryParametersBySettingSelectedDate:date];
38 - (NSDictionary *)nextWeekQueryParameters {
41 date = [[self startDate] dateByAddingYears:0 months:0 days:7
42 hours:0 minutes:0 seconds:0];
43 return [self queryParametersBySettingSelectedDate:date];
46 @end /* UIxCalWeekView */