Lines Matching full:if

13  * given day. As an example, if you were to specify "15W" as the value for the
15 * month". So if the 15th is a Saturday, the trigger will fire on Friday the
16 * 14th. If the 15th is a Sunday, the trigger will fire on Monday the 16th. If
17 * the 15th is a Tuesday, then it will fire on Tuesday the 15th. However if you
42 if ($currentWeekday < 6) {
50 if ($adjusted > 0 && $adjusted <= $lastDayOfMonth) {
52 if ($target->format('N') < 6 && $target->format('m') == $currentMonth) {
62 if ($value == '?') {
68 // Check to see if this is the last day of the month
69 if ($value == 'L') {
73 // Check to see if this is the nearest weekday to a particular value
74 if (strpos($value, 'W')) {
77 // Find out if the current day is the nearest day of the week
90 if ($invert) {
112 if ($value === '?' || $value === '*' || $value === 'L') {
116 // If you only contain numbers and are within 1-31
117 if ((bool) preg_match('/^\d{1,2}$/', $value) && ($value >= 1 && $value <= 31)) {
121 // If you have a -, we will deal with each of your chunks
122 if ((bool) preg_match('/-/', $value)) {
124 if ((bool) preg_match('/,/', $value)) {
130 if (!$this->validate($chunk)) {
138 // If you have a comma, we will deal with each value
139 if ((bool) preg_match('/,/', $value)) {
141 if ((bool) preg_match('/-/', $value)) {
147 if (!$this->validate($chunk)) {
155 // If you contain a /, we'll deal with it
156 if ((bool) preg_match('/\//', $value)) {
159 if (!$this->validate($chunk)) {
166 // If you end in W, make sure that it has a numeric in front of it
167 if ((bool) preg_match('/^\d{1,2}W$/', $value)) {