Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
Jyxo
Time
Util
PHP 클래스 Jyxo\Time\Util
저자:
Jakub Tománek
파일 보기
프로젝트 열기: jyxo/php
공개 메소드들
메소드
설명
isWorkDay
(
Time
$day
) :
boolean
Checks if the given date is a working day.
nextMonth
(
Time
$now
= null ) :
Time
Returns the next month.
메소드 상세
isWorkDay()
공개
정적인
메소드
Checks if the given date is a working day.
public
static
isWorkDay
(
Time
$day
) :
boolean
$day
Time
Date to be checked
리턴
boolean
nextMonth()
공개
정적인
메소드
If the current date is greater than the next month's number of days, returns the next month's last date. This is different from strtotime('+1 month') behaviour, where August 31st returns October 1st.
public
static
nextMonth
(
Time
$now
= null ) :
Time
$now
Time
Current date/time
리턴
Time