public function addEventTokens($objItem, $arrTokens, $arrRelation, $objNotification, $strLanguage, $objGatewayModel)
 {
     // date and time
     $arrTokens['event_date'] = DateUtil::getNumericDateInterval($objItem->startDate, $objItem->endDate);
     if ($objItem->addTime) {
         $arrTokens['event_datime'] = DateUtil::getNumericDateTimeInterval($objItem->startTime, $objItem->endTime);
     } else {
         $arrTokens['event_datime'] = $arrTokens['event_date'];
     }
     return $arrTokens;
 }
 /**
  * @dataProvider getNumericDateTimeIntervalProvider
  * @test
  */
 public function testGetNumericDateTimeInterval($intStart = null, $intEnd = null, $strDelimiter = ' – ', $varExpectedResult)
 {
     $this->assertSame($varExpectedResult, DateUtil::getNumericDateTimeInterval($intStart, $intEnd, $strDelimiter));
 }