中文文档
English
Spanish
French
Japanese
Brazilian
German
Turkish
Russian
DateMalformedIntervalStringException »
« DateInvalidOperationException
PHP マニュアル
関数リファレンス
日付および時刻関連
Date/Time
DateInvalidTimeZoneException クラス
(PHP 8 >= 8.3.0)
はじめに
DateTimeZone::__construct()
に無効な値が渡された場合にスローされます。
クラス概要
class
DateInvalidTimeZoneException
extends
DateException
{
protected
string
$
message
= ""
;
private
string
$
string
= ""
;
protected
int
$
code
;
protected
string
$
file
= ""
;
protected
int
$
line
;
private
array
$
trace
= []
;
private
?
Throwable
$
previous
= null
;
public
Exception::__construct
(
string
$message
= ""
,
int
$code
= 0
,
?
Throwable
$previous
=
null
)
final
public
Exception::getMessage
():
string
final
public
Exception::getPrevious
():
?
Throwable
final
public
Exception::getCode
():
int
final
public
Exception::getFile
():
string
final
public
Exception::getLine
():
int
final
public
Exception::getTrace
():
array
final
public
Exception::getTraceAsString
():
string
public
Exception::__toString
():
string
private
Exception::__clone
():
void
}