Did I find the right examples for you? yes no

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

        def my_weekdatescalendar(cal, date):
    weeks = cal.monthdatescalendar(date.year, date.month)
    for weekno, week in enumerate(weeks):
        # Hide all days that are not part of the current week.
        if date in week:
            return week
    raise Exception('No such week')
        


src/g/o/GooCalendar-0.1/goocalendar/_calendar.py   GooCalendar(Download)
                dates += week
        else:
            dates = util.my_weekdatescalendar(cal, self.selected_date)
 
        # Retrieve a list of all events in the current time span,