def fireDateSelectedEvent(self, dateobj):
        for listener in self.selectedDateListeners:
            getattr(listener, "onDateSelected", listener)(
                    dateobj.year,
                    dateobj.month,
                    dateobj.day,
                    )
        for listener in self.selectedDObjListeners:
            getattr(listener, "onDateSelected", listener)(
                    dateobj,
                    )
Converts a cursor entity into a offset into the result set even if the
dataset/ETHPy150Open pyjs/pyjs/pyjswidgets/pyjamas/ui/Calendar.py/DateSelectedHandler.fireDateSelectedEvent--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/datastore/old_datastore_stub_util.py/ListCursor._GetCursorOffset