src/CalendarSettings/Gregorian.php 1 location
|
@@ 172-176 (lines=5) @@
|
| 169 |
|
* |
| 170 |
|
*\_________________________________________________________/ |
| 171 |
|
*/ |
| 172 |
|
'leap_year' => function ($year) { |
| 173 |
|
|
| 174 |
|
return ( ( ( $year % 4 ) == 0 ) && ( ( ( $year % 100 ) != 0 ) || ( ( $year % 400 ) == 0 ) ) ); |
| 175 |
|
|
| 176 |
|
}, |
| 177 |
|
|
| 178 |
|
/************************************************************ |
| 179 |
|
* Weekend |
src/CalendarSettings/Julian.php 1 location
|
@@ 196-200 (lines=5) @@
|
| 193 |
|
* |
| 194 |
|
*\_________________________________________________________/ |
| 195 |
|
*/ |
| 196 |
|
'leap_year' => function ($year) { |
| 197 |
|
|
| 198 |
|
return ( ( ( $year % 4 ) == 0 ) && ( ( ( $year % 100 ) != 0 ) || ( ( $year % 400 ) == 0 ) ) ); |
| 199 |
|
|
| 200 |
|
}, |
| 201 |
|
|
| 202 |
|
/************************************************************ |
| 203 |
|
* Weekend |