Skip to content

Commit da289f6

Browse files
committed
update docs
1 parent 0e3e7a3 commit da289f6

File tree

4 files changed

+17
-4
lines changed

4 files changed

+17
-4
lines changed

src/Core/Libur.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/*
33
Author: Irfa Ardiansyah <[email protected]>
4-
version: 1.0
4+
version: 1.1
55
https://github.com/irfaardy/php-hari-libur
66
*/
77
namespace Irfa\HariLibur\Core;

src/Core/Localization.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/*
33
Author: Irfa Ardiansyah <[email protected]>
4-
version: 1.0
4+
version: 1.1
55
https://github.com/irfaardy/php-hari-libur
66
*/
77
namespace Irfa\HariLibur\Core;

src/Facades/HariLibur.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/*
33
Author: Irfa Ardiansyah <[email protected]>
4-
version: 1.0
4+
version: 1.1
55
https://github.com/irfaardy/php-hari-libur
66
*/
77
namespace Irfa\HariLibur\Facades;

src/Func/HariLibur.php

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/*
33
Author: Irfa Ardiansyah <[email protected]>
4-
version: 1.0
4+
version: 1.1
55
https://github.com/irfaardy/php-hari-libur
66
*/
77
namespace Irfa\HariLibur\Func;
@@ -89,16 +89,29 @@ public function region($region)
8989
$this->setRegion($region);
9090
return $this;
9191
}
92+
93+
/**
94+
* Method ini berfungsi untuk menampilkan data libur sebelum tanggal yang telah di atur di parameter date.
95+
*
96+
* @return object
97+
*/
9298
public function nextHoliday()
9399
{
94100
$next = $this->getnextHolidays($this->date);
95101
return $next;
96102
}
103+
104+
/**
105+
* Method ini berfungsi untuk menampilkan data libur setelah tanggal yang telah di atur di parameter date.
106+
*
107+
* @return object
108+
*/
97109
public function prevHoliday()
98110
{
99111
$prev = $this->getPrevHolidays($this->date);
100112
return $prev;
101113
}
114+
102115
/**
103116
* Method ini berfungsi untuk mengecek tanggal sudah diisi apa belum
104117
*

0 commit comments

Comments
 (0)