Skip to content

Commit

Permalink
Merge pull request #171 from psobhanlo/master
Browse files Browse the repository at this point in the history
readme - update new method for get getEndDayOfYear && getFirstDayOfMonth
  • Loading branch information
morilog authored May 9, 2024
2 parents 16a9d91 + 5be66e3 commit f475f4d
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,30 @@ $date = (new Jalalian(1397, 6, 24))->isStartOfWeek()
// output: true

```
---
```php
public function getEndDayOfYear(): bool

$date = (new Jalalian(1397, 6, 24))->getEndDayOfYear()
// output: 1397, 12, 29

```
---
```php
public function getFirstDayOfMonth(): bool

$date = (new Jalalian(1397, 6, 24))->getEndDayOfYear()
// output: 1397, 6, 1

```
---
```php
public function getEndDayOfMonth(): bool

$date = (new Jalalian(1397, 6, 24))->getEndDayOfYear()
// output: 1397, 6, 30

```
---
```php
public function isSaturday(): bool
Expand Down

0 comments on commit f475f4d

Please sign in to comment.