public static createFromTime ( integer | null $hour = null, integer | null $minute = null, integer | null $second = null, DateTimeZon\DateTimeZone | string | null $tz = null ) : static | ||
$hour | integer | null | The hour to create an instance with. |
$minute | integer | null | The minute to create an instance with. |
$second | integer | null | The second to create an instance with. |
$tz | DateTimeZon\DateTimeZone | string | null | The DateTimeZone object or timezone name the new instance should use. |
Résultat | static |
public static function createFromTime($hour = null, $minute = null, $second = null, $tz = null)
{
return static::create(null, null, null, $hour, $minute, $second, $tz);
}