1: | <?php |
2: | |
3: | |
4: | |
5: | |
6: | |
7: | |
8: | namespace Aurora\System\Enums; |
9: | |
10: | |
11: | |
12: | |
13: | |
14: | |
15: | class DateFormat extends AbstractEnumeration |
16: | { |
17: | public const DD_MONTH_YYYY = 'DD Month YYYY'; |
18: | public const MMDDYYYY = 'MM/DD/YYYY'; |
19: | public const DDMMYYYY = 'DD/MM/YYYY'; |
20: | public const MMDDYY = 'MM/DD/YY'; |
21: | public const DDMMYY = 'DD/MM/YY'; |
22: | |
23: | |
24: | |
25: | |
26: | protected $aConsts = array( |
27: | 'DD Month YYYY' => self::DD_MONTH_YYYY, |
28: | 'MM/DD/YYYY' => self::MMDDYYYY, |
29: | 'DD/MM/YYYY' => self::DDMMYYYY, |
30: | 'MM/DD/YY' => self::MMDDYY, |
31: | 'DD/MM/YY' => self::DDMMYY |
32: | ); |
33: | } |
34: | |