Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
Cake
Chronos
Traits
FactoryTrait
yesterday
Cake\Chronos\Traits\FactoryTrait::yesterday PHP 메소드
FactoryTrait 2 문서
파일 보기
프로젝트 열기: cakephp/chronos
yesterday()
공개
정적인
메소드
Create a ChronosInterface instance for yesterday
public
static
yesterday
(
DateTimeZon\DateTimeZone |
string
|
null
$tz
= null ) :
static
$tz
DateTimeZon\DateTimeZone |
string
|
null
The DateTimeZone object or timezone name the new instance should use.
리턴
static
public static function yesterday($tz = null) { return new static('yesterday, midnight', $tz); }
FactoryTrait
create
createFromDate
createFromFormat
createFromTime
createFromTimestamp
createFromTimestampUTC
getLastErrors
instance
maxValue
minValue
now
parse
safeCreateDateTimeZone
today
tomorrow
yesterday