Lines Matching refs:currentDate
571 $currentDate = clone $startDateObj;
572 $currentDate->modify('first day of next month'); // Jump to first of next month
574 while ($currentDate <= $endDateObj) {
575 $currentMonth = $currentDate->format('Y-m');
576 $firstDayOfMonth = $currentDate->format('Y-m-01');
626 $currentDate->modify('first day of next month');
721 $currentDate = clone $startDateObj;
722 $currentDate->modify('first day of next month'); // Jump to first of next month
724 while ($currentDate <= $endDateObj) {
725 $firstDayOfMonth = $currentDate->format('Y-m-01');
748 $currentDate->modify('first day of next month');
1528 $currentDate = new DateTime($startDate);
1535 $startWeekNumber = (int)$currentDate->format('W');
1536 $startYear = (int)$currentDate->format('Y');
1538 while ($currentDate <= $endLimit && $counter < $maxOccurrences) {
1544 $daysSinceStart = $currentDate->diff(new DateTime($startDate))->days;
1550 $currentDayOfWeek = (int)$currentDate->format('w'); // 0=Sun, 6=Sat
1553 $daysSinceStart = $currentDate->diff(new DateTime($startDate))->days;
1563 $isOnOrAfterStart = ($currentDate >= new DateTime($startDate));
1571 … $monthsSinceStart = (($currentDate->format('Y') - $startDT->format('Y')) * 12) +
1572 ($currentDate->format('n') - $startDT->format('n'));
1579 $currentDate->modify('first day of next month');
1586 $currentDay = (int)$currentDate->format('j');
1587 $daysInMonth = (int)$currentDate->format('t');
1594 … $shouldCreateEvent = $this->isOrdinalWeekday($currentDate, $ordinalWeek, $ordinalDay);
1601 $yearsSinceStart = (int)$currentDate->format('Y') - (int)$startDT->format('Y');
1607 $sameMonthDay = ($currentDate->format('m-d') === $startDT->format('m-d'));
1617 $dateKey = $currentDate->format('Y-m-d');
1623 $occurrenceEnd = clone $currentDate;
1680 $currentDate->modify('+1 day');