Lines Matching full:if
15 * along with this program. If not, see <https://www.gnu.org/licenses/>.
86 if (is_int($date)) {
95 if (is_array($date)) {
99 if ($this->month === 0) {
106 …if ($this->month === 6 && $this->calendar instanceof JewishCalendar && !$this->calendar->isLeapYea…
120 if (get_class($this) === get_class($date)) {
129 if (!$this->inValidRange()) {
138 if ($date->year === 0) {
148 if ($date->year === 0) {
151 if ($date->month === 0) {
154 if ($date->day === 0) {
217 if ($this->year === 0) {
244 if ($translated_day_names === null) {
270 if ($translated_day_names === null) {
326 if ($d1->maximum_julian_day < $d2->minimum_julian_day) {
330 if ($d2->maximum_julian_day < $d1->minimum_julian_day) {
350 if ($this->year === 0 || $date->year === 0) {
355 if (self::compare($this, $date) === 0) {
367 if ($days < 0) {
372 if ($months < 0) {
469 if ($this->day === 0) {
472 if ($this->month === 0) {
475 if ($this->year === 0) {
480 if ($this->day !== 0 && preg_match('/%[djlDNSwz]/', $format)) {
481 // If we have a day-number *and* we are being asked to display it, then genitive
508 if (str_contains($format, '%d')) {
511 if (str_contains($format, '%j')) {
514 if (str_contains($format, '%l')) {
517 if (str_contains($format, '%D')) {
520 if (str_contains($format, '%N')) {
523 if (str_contains($format, '%w')) {
526 if (str_contains($format, '%z')) {
529 if (str_contains($format, '%F')) {
532 if (str_contains($format, '%m')) {
535 if (str_contains($format, '%M')) {
538 if (str_contains($format, '%n')) {
541 if (str_contains($format, '%t')) {
544 if (str_contains($format, '%L')) {
547 if (str_contains($format, '%Y')) {
550 if (str_contains($format, '%y')) {
554 if (str_contains($format, '%@')) {
557 if (str_contains($format, '%A')) {
560 if (str_contains($format, '%O')) {
563 if (str_contains($format, '%E')) {
577 if ($this->day > 9) {
661 if ($this->month > 9) {
770 if ($this->day === 0) {
785 …if ($this->month === 7 && $this->calendar instanceof JewishCalendar && !$this->calendar->isLeapYea…
799 if ($this->year === 0) {
876 if ($this->day !== 0 && strpbrk($date_format, 'dDj')) {
877 // If the format includes a day, and the date also includes a day, then use the day view
880 … // If the format includes a month, and the date also includes a month, then use the month view