| 1 | <?php |
||
| 11 | final class Timestamp implements SerializableInterface |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var DateTimeInterface |
||
| 15 | */ |
||
| 16 | protected $startDate; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var DateTimeInterface |
||
| 20 | */ |
||
| 21 | protected $endDate; |
||
| 22 | |||
| 23 | final public function __construct( |
||
| 34 | |||
| 35 | public function getStartDate(): DateTimeInterface |
||
| 39 | |||
| 40 | public function getEndDate(): DateTimeInterface |
||
| 44 | |||
| 45 | public static function deserialize(array $data): Timestamp |
||
| 52 | |||
| 53 | public function serialize(): array |
||
| 60 | |||
| 61 | public static function fromUdb3ModelDateRange(DateRange $dateRange): Timestamp |
||
| 68 | |||
| 69 | public function equals(Timestamp $otherTimestamp): bool |
||
| 73 | } |
||
| 74 |