You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.3 KiB
46 lines
1.3 KiB
<?php |
|
|
|
/** |
|
* This file is part of CodeIgniter 4 framework. |
|
* |
|
* (c) CodeIgniter Foundation <admin@codeigniter.com> |
|
* |
|
* For the full copyright and license information, please view |
|
* the LICENSE file that was distributed with this source code. |
|
*/ |
|
|
|
namespace CodeIgniter\I18n; |
|
|
|
use DateTime; |
|
|
|
/** |
|
* Legacy Time class. |
|
* |
|
* This class is only for backward compatibility. Do not use. |
|
* This is not immutable! Some methods are immutable, |
|
* but some methods can alter the state. |
|
* |
|
* @property int $age read-only |
|
* @property string $day read-only |
|
* @property string $dayOfWeek read-only |
|
* @property string $dayOfYear read-only |
|
* @property bool $dst read-only |
|
* @property string $hour read-only |
|
* @property bool $local read-only |
|
* @property string $minute read-only |
|
* @property string $month read-only |
|
* @property string $quarter read-only |
|
* @property string $second read-only |
|
* @property int $timestamp read-only |
|
* @property bool $utc read-only |
|
* @property string $weekOfMonth read-only |
|
* @property string $weekOfYear read-only |
|
* @property string $year read-only |
|
* |
|
* @deprecated Use Time instead. |
|
* @see \CodeIgniter\I18n\TimeLegacyTest |
|
*/ |
|
class TimeLegacy extends DateTime |
|
{ |
|
use TimeTrait; |
|
}
|
|
|