Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
<?php
2
 
3
declare(strict_types=1);
4
 
5
namespace ZipStream\Exception;
6
 
7
use DateTimeInterface;
8
use ZipStream\Exception;
9
 
10
/**
11
 * This Exception gets invoked if a file wasn't found
12
 */
13
class DosTimeOverflowException extends Exception
14
{
15
    /**
16
     * @internal
17
     */
18
    public function __construct(
19
        public readonly DateTimeInterface $dateTime
20
    ) {
21
        parent::__construct('The date ' . $dateTime->format(DateTimeInterface::ATOM) . " can't be represented as DOS time / date.");
22
    }
23
}