Lines Matching refs:currentDate
572 $currentDate = clone $startDateObj;
573 $currentDate->modify('first day of next month'); // Jump to first of next month
575 while ($currentDate <= $endDateObj) {
576 $currentMonth = $currentDate->format('Y-m');
577 $firstDayOfMonth = $currentDate->format('Y-m-01');
627 $currentDate->modify('first day of next month');
722 $currentDate = clone $startDateObj;
723 $currentDate->modify('first day of next month'); // Jump to first of next month
725 while ($currentDate <= $endDateObj) {
726 $firstDayOfMonth = $currentDate->format('Y-m-01');
749 $currentDate->modify('first day of next month');
1529 $currentDate = new DateTime($startDate);
1536 $startWeekNumber = (int)$currentDate->format('W');
1537 $startYear = (int)$currentDate->format('Y');
1539 while ($currentDate <= $endLimit && $counter < $maxOccurrences) {
1545 $daysSinceStart = $currentDate->diff(new DateTime($startDate))->days;
1551 $currentDayOfWeek = (int)$currentDate->format('w'); // 0=Sun, 6=Sat
1554 $daysSinceStart = $currentDate->diff(new DateTime($startDate))->days;
1564 $isOnOrAfterStart = ($currentDate >= new DateTime($startDate));
1572 … $monthsSinceStart = (($currentDate->format('Y') - $startDT->format('Y')) * 12) +
1573 ($currentDate->format('n') - $startDT->format('n'));
1580 $currentDate->modify('first day of next month');
1587 $currentDay = (int)$currentDate->format('j');
1588 $daysInMonth = (int)$currentDate->format('t');
1595 … $shouldCreateEvent = $this->isOrdinalWeekday($currentDate, $ordinalWeek, $ordinalDay);
1602 $yearsSinceStart = (int)$currentDate->format('Y') - (int)$startDT->format('Y');
1608 $sameMonthDay = ($currentDate->format('m-d') === $startDT->format('m-d'));
1618 $dateKey = $currentDate->format('Y-m-d');
1624 $occurrenceEnd = clone $currentDate;
1681 $currentDate->modify('+1 day');