| 1 |
|
| 2 |
# CURY matches years 2025 up to 2032 |
| 3 |
@@if not defined DATE_YYYY_CURY |
| 4 |
@@define DATE_YYYY_CURY (202[5-9]|203[012]) |
| 5 |
@@endif |
| 6 |
@@define DATE_YYYY_MM_DD_CURY @@{DATE_YYYY_CURY}-@@{DATE_MM_DD} |
| 7 |
@@define DATE_YYYY_MM_DD_CURY_DASH @@{DATE_YYYY_CURY}-@@{DATE_MM_DD_DASH} |
| 8 |
@@define DATE_YYYY_MM_DD_CURY_USC @@{DATE_YYYY_CURY}_@@{DATE_MM_DD_USC} |
| 9 |
@@define DATE_YYYYMMDD_CURY @@{DATE_YYYY_CURY}@@{DATE_MMDD} |
| 10 |
@@define DATE_DDMMYYYY_CURY @@{DATE_DDMM}@@{DATE_YYYY_CURY} |
| 11 |
@@define DATE_MMDDYYYY_CURY @@{DATE_MMDD}@@{DATE_YYYY_CURY} |
| 12 |
@@define DATETIME_ISO8601_CURY @@{DATE_YYYY_CURY}-@@{DATE_MM_DD}T@@{TIME_0_23}:@@{TIME_0_59}:@@{TIME_0_59}(Z|[+-]@@{TIME_0_23}:@@{TIME_0_59}) |
| 13 |
@@define DATETIME_COMPACT_CURY @@{DATE_YYYY_CURY}@@{DATE_MMDD}T@@{TIME_0_23}@@{TIME_0_59}@@{TIME_0_59} |
| 14 |
@@define DATETIME_SPACE_CURY @@{DATE_YYYY_CURY}-@@{DATE_MM_DD}[[:space:]]@@{TIME_0_23}:@@{TIME_0_59}(:@@{TIME_0_59})? |
| 15 |
|
| 16 |
# UNIX_TS_CURY matches from 2025-06-16T22:13:20 to 2027-05-18T03:59:59 (1750000000–2019999999) |
| 17 |
# if you still use this after 2031, feel free to adapt those values |
| 18 |
@@if not defined UNIX_TS_CURY |
| 19 |
@@define UNIX_TS_CURY (175\d{7}|17[6-9]\d{7}|18\d{8}|19\d{8}|200\d{7}|201\d{7}) |
| 20 |
@@endif |
| 21 |
|
| 22 |
# UNIX_TS_2015_2033 matches from 2015-04-26T05:33:20 to 2033-05-18T03:59:59 (1430000000–2019999999) |
| 23 |
# if you still use this after 2033, feel free to adapt those values |
| 24 |
@@if not defined UNIX_TS_2015_2033 |
| 25 |
@@define UNIX_TS_2015_2033 (143\d{7}|14[4-9]\d{6}|1[5-9]\d{8}|200\d{7}|201\d{7}) |
| 26 |
@@endif |