protected function buildApplicationCrumbs()
 {
     $crumbs = parent::buildApplicationCrumbs();
     $viewer = $this->getViewer();
     $year = $this->viewYear;
     $month = $this->viewMonth;
     $day = $this->viewDay;
     $parameters = array();
     // If the viewer clicks "Create Event" while on a particular day view,
     // default the times to that day.
     if ($year && $month && $day) {
         $datetimes = PhabricatorCalendarEvent::newDefaultEventDateTimes($viewer, PhabricatorTime::getNow());
         foreach ($datetimes as $datetime) {
             $datetime->setYear($year)->setMonth($month)->setDay($day);
         }
         list($start, $end) = $datetimes;
         $parameters['start'] = $start->getEpoch();
         $parameters['end'] = $end->getEpoch();
     }
     id(new PhabricatorCalendarEventEditEngine())->setViewer($this->getViewer())->addActionToCrumbs($crumbs, $parameters);
     return $crumbs;
 }