27 public static function between($endDate, $startDate)
33 return $e->getMessage();
37 $PHPStartDateObject = SharedDateHelper::excelToDateTimeObject($startDate);
38 $PHPEndDateObject = SharedDateHelper::excelToDateTimeObject($endDate);
41 $diff = $PHPStartDateObject->diff($PHPEndDateObject);
42 if ($diff !==
false && !is_bool($diff->days)) {
An exception for terminatinating execution or to throw for unit testing.
static between($endDate, $startDate)
DAYS.
static getDateValue($dateValue, bool $allowBool=true)
getDateValue.