@@ -53,7 +53,6 @@ public static function addDate(int $date, int $hour, int $min, int $sec, int $mo
5353 *
5454 * @param int $month Month is between 1 and 12 inclusive
5555 * @param int $year is between 1 and 32767 inclusive
56- *
5756 */
5857 public static function DayInMonth (int $ month , int $ year ) : int
5958 {
@@ -159,8 +158,6 @@ public static function fromSqlDateTime(?string $datetime = null) : string
159158 }
160159
161160 /**
162- * fromUnixDate()
163- *
164161 * Take Unix timestamp and format to iCal date string
165162 *
166163 * @param int $datetime Unix timestamp, leave blank for current date/time
@@ -180,8 +177,6 @@ public static function fromUnixDate(?int $datetime = null) : string
180177 }
181178
182179 /**
183- * fromUnixDateTime()
184- *
185180 * Take Unix timestamp and format to iCal date/time string
186181 *
187182 * @param int $datetime Unix timestamp, leave blank for current date/time
@@ -204,7 +199,6 @@ public static function fromUnixDateTime(?int $datetime = null) : string
204199 * Format Unix timestamp to iCal date-time string
205200 *
206201 * @param int $datetime Unix timestamp
207- *
208202 */
209203 public static function fromUnixDateTimetoiCal (int $ datetime ) : string
210204 {
@@ -343,7 +337,6 @@ public static function getDateFromDay(int $date, int $week, int $wday, string $t
343337 * Convert iCal duration string to # of seconds
344338 *
345339 * @param string $duration iCal duration string
346- *
347340 */
348341 public static function iCalDurationtoSeconds (string $ duration ) : int
349342 {
@@ -400,7 +393,6 @@ public static function iCalDurationtoSeconds(string $duration) : int
400393 * @param int $daystart start of day in Unix timestamp format
401394 * @param int $begin Unix timestamp of starting date range
402395 * @param int $end Unix timestamp of end date range
403- *
404396 */
405397 public static function inDay (int $ daystart , int $ begin , int $ end ) : bool
406398 {
@@ -424,7 +416,6 @@ public static function inDay(int $daystart, int $begin, int $end) : bool
424416 *
425417 * @param int $date date in Unix timestamp format
426418 * @param string $tzid PHP recognized timezone (default is UTC)
427- *
428419 */
429420 public static function isAfterToday (int $ date , string $ tzid = 'UTC ' ) : bool
430421 {
@@ -440,7 +431,6 @@ public static function isAfterToday(int $date, string $tzid = 'UTC') : bool
440431 *
441432 * @param int $date date in Unix timestamp format
442433 * @param string $tzid PHP recognized timezone (default is UTC)
443- *
444434 */
445435 public static function isBeforeToday (int $ date , string $ tzid = 'UTC ' ) : bool
446436 {
@@ -459,7 +449,6 @@ public static function isBeforeToday(int $date, string $tzid = 'UTC') : bool
459449 *
460450 * @param int $date date in Unix timestamp format
461451 * @param string $tzid PHP recognized timezone (default is UTC)
462- *
463452 */
464453 public static function isFuture (int $ date , string $ tzid = 'UTC ' ) : bool
465454 {
@@ -477,7 +466,6 @@ public static function isFuture(int $date, string $tzid = 'UTC') : bool
477466 *
478467 * @param int $date date in Unix timestamp format
479468 * @param string $tzid PHP recognized timezone (default is UTC)
480- *
481469 */
482470 public static function isPast (int $ date , string $ tzid = 'UTC ' ) : bool
483471 {
@@ -492,7 +480,6 @@ public static function isPast(int $date, string $tzid = 'UTC') : bool
492480 *
493481 * @param int $date date in Unix timestamp format
494482 * @param string $tzid PHP recognized timezone (default is UTC)
495- *
496483 */
497484 public static function isToday (int $ date , string $ tzid = 'UTC ' ) : bool
498485 {
@@ -507,7 +494,6 @@ public static function isToday(int $date, string $tzid = 'UTC') : bool
507494 *
508495 * @param int $date date in Unix timestamp format
509496 * @param string $tzid PHP recognized timezone (default is UTC)
510- *
511497 */
512498 public static function isTomorrow (int $ date , string $ tzid = 'UTC ' ) : bool
513499 {
@@ -521,7 +507,6 @@ public static function isTomorrow(int $date, string $tzid = 'UTC') : bool
521507 * Is given date fall on a weekend?
522508 *
523509 * @param int $date Unix timestamp
524- *
525510 */
526511 public static function isWeekend (int $ date ) : bool
527512 {
@@ -534,7 +519,6 @@ public static function isWeekend(int $date) : bool
534519 * Return current Unix timestamp in local timezone
535520 *
536521 * @param string $tzid PHP recognized timezone
537- *
538522 */
539523 public static function now (string $ tzid = 'UTC ' ) : int
540524 {
@@ -612,7 +596,6 @@ public static function toLocalDateTime(string $sqldate, string $tzid = 'UTC') :
612596 * Format Unix timestamp to SQL date
613597 *
614598 * @param int $t Unix timestamp
615- *
616599 */
617600 public static function toSQLDate (int $ t = 0 ) : string
618601 {
@@ -630,7 +613,6 @@ public static function toSQLDate(int $t = 0) : string
630613 * Format Unix timestamp to SQL date-time
631614 *
632615 * @param int $t Unix timestamp
633- *
634616 */
635617 public static function toSQLDateTime (int $ t = 0 ) : string
636618 {
0 commit comments