Skip to content

Commit f475f4d

Browse files
authored
Merge pull request #171 from psobhanlo/master
readme - update new method for get getEndDayOfYear && getFirstDayOfMonth
2 parents 16a9d91 + 5be66e3 commit f475f4d

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,30 @@ $date = (new Jalalian(1397, 6, 24))->isStartOfWeek()
401401
// output: true
402402

403403
```
404+
---
405+
```php
406+
public function getEndDayOfYear(): bool
407+
408+
$date = (new Jalalian(1397, 6, 24))->getEndDayOfYear()
409+
// output: 1397, 12, 29
410+
411+
```
412+
---
413+
```php
414+
public function getFirstDayOfMonth(): bool
404415

416+
$date = (new Jalalian(1397, 6, 24))->getEndDayOfYear()
417+
// output: 1397, 6, 1
418+
419+
```
420+
---
421+
```php
422+
public function getEndDayOfMonth(): bool
423+
424+
$date = (new Jalalian(1397, 6, 24))->getEndDayOfYear()
425+
// output: 1397, 6, 30
426+
427+
```
405428
---
406429
```php
407430
public function isSaturday(): bool

0 commit comments

Comments
 (0)