ci4
1<?php
2
3declare(strict_types=1);4
5/**
6* This file is part of CodeIgniter 4 framework.
7*
8* (c) CodeIgniter Foundation <admin@codeigniter.com>
9*
10* For the full copyright and license information, please view
11* the LICENSE file that was distributed with this source code.
12*/
13
14namespace CodeIgniter\I18n;15
16use DateTimeImmutable;17use Stringable;18
19/**
20* A localized date/time package inspired
21* by Nesbot/Carbon and CakePHP/Chronos.
22*
23* Requires the intl PHP extension.
24*
25* @property-read int $age
26* @property-read string $day
27* @property-read string $dayOfWeek
28* @property-read string $dayOfYear
29* @property-read bool $dst
30* @property-read string $hour
31* @property-read bool $local
32* @property-read string $minute
33* @property-read string $month
34* @property-read string $quarter
35* @property-read string $second
36* @property-read int $timestamp
37* @property-read bool $utc
38* @property-read string $weekOfMonth
39* @property-read string $weekOfYear
40* @property-read string $year
41*
42* @see \CodeIgniter\I18n\TimeTest
43*/
44class Time extends DateTimeImmutable implements Stringable45{
46use TimeTrait;47}
48