xref: /webtrees/app/Elements/DateValueExact.php (revision d11be7027e34e3121be11cc025421873364403f9)
1099c152eSGreg Roach<?php
2099c152eSGreg Roach
3099c152eSGreg Roach/**
4099c152eSGreg Roach * webtrees: online genealogy
5*d11be702SGreg Roach * Copyright (C) 2023 webtrees development team
6099c152eSGreg Roach * This program is free software: you can redistribute it and/or modify
7099c152eSGreg Roach * it under the terms of the GNU General Public License as published by
8099c152eSGreg Roach * the Free Software Foundation, either version 3 of the License, or
9099c152eSGreg Roach * (at your option) any later version.
10099c152eSGreg Roach * This program is distributed in the hope that it will be useful,
11099c152eSGreg Roach * but WITHOUT ANY WARRANTY; without even the implied warranty of
12099c152eSGreg Roach * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13099c152eSGreg Roach * GNU General Public License for more details.
14099c152eSGreg Roach * You should have received a copy of the GNU General Public License
15099c152eSGreg Roach * along with this program. If not, see <https://www.gnu.org/licenses/>.
16099c152eSGreg Roach */
17099c152eSGreg Roach
18099c152eSGreg Roachdeclare(strict_types=1);
19099c152eSGreg Roach
20099c152eSGreg Roachnamespace Fisharebest\Webtrees\Elements;
21099c152eSGreg Roach
22099c152eSGreg Roach/**
23099c152eSGreg Roach * DATE_VALUE := {Size=1:35}
24099c152eSGreg Roach */
25099c152eSGreg Roachclass DateValueExact extends DateValue
26099c152eSGreg Roach{
27099c152eSGreg Roach    protected const PATTERN = '(0[1-9]|[12][0-9]|3[0-1]) (JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC) [0-9][0-9][0-9][0-9]';
28099c152eSGreg Roach}
29