Lines Matching refs:currentDate
528 $currentDate = clone $startDateObj;
529 $currentDate->modify('first day of next month'); // Jump to first of next month
531 while ($currentDate <= $endDateObj) {
532 $currentMonth = $currentDate->format('Y-m');
533 $firstDayOfMonth = $currentDate->format('Y-m-01');
583 $currentDate->modify('first day of next month');
672 $currentDate = clone $startDateObj;
673 $currentDate->modify('first day of next month'); // Jump to first of next month
675 while ($currentDate <= $endDateObj) {
676 $firstDayOfMonth = $currentDate->format('Y-m-01');
699 $currentDate->modify('first day of next month');
1398 $currentDate = new DateTime($startDate);
1405 $startWeekNumber = (int)$currentDate->format('W');
1406 $startYear = (int)$currentDate->format('Y');
1408 while ($currentDate <= $endLimit && $counter < $maxOccurrences) {
1414 $daysSinceStart = $currentDate->diff(new DateTime($startDate))->days;
1420 $currentDayOfWeek = (int)$currentDate->format('w'); // 0=Sun, 6=Sat
1423 $daysSinceStart = $currentDate->diff(new DateTime($startDate))->days;
1433 $isOnOrAfterStart = ($currentDate >= new DateTime($startDate));
1441 … $monthsSinceStart = (($currentDate->format('Y') - $startDT->format('Y')) * 12) +
1442 ($currentDate->format('n') - $startDT->format('n'));
1449 $currentDate->modify('first day of next month');
1456 $currentDay = (int)$currentDate->format('j');
1457 $daysInMonth = (int)$currentDate->format('t');
1464 … $shouldCreateEvent = $this->isOrdinalWeekday($currentDate, $ordinalWeek, $ordinalDay);
1471 $yearsSinceStart = (int)$currentDate->format('Y') - (int)$startDT->format('Y');
1477 $sameMonthDay = ($currentDate->format('m-d') === $startDT->format('m-d'));
1487 $dateKey = $currentDate->format('Y-m-d');
1493 $occurrenceEnd = clone $currentDate;
1550 $currentDate->modify('+1 day');