def _DateRangeQuery(self, start_date='2007-01-01', end_date='2007-07-01'):

    print 'Date range query for events on Primary Calendar: %s to %s' % (
        start_date, end_date,)
    query = gdata.calendar.service.CalendarEventQuery('default', 'private', 
        'full')
    query.start_min = start_date
    query.start_max = end_date 
    feed = self.cal_client.CalendarQuery(query)
    for i, an_event in zip(xrange(len(feed.entry)), feed.entry):
      print '\t%s. %s' % (i, an_event.title.text,)
      for a_when in an_event.when:
        print '\t\tStart time: %s' % (a_when.start_time,)
        print '\t\tEnd time:   %s' % (a_when.end_time,)
Retrieves events from the server which occur during the specified date
dataset/ETHPy150Open kuri65536/python-for-android/python-build/python-libs/gdata/samples/calendar/calendarExample.py/CalendarExample._DateRangeQuery