Replace lookup-based time logic with direct epoch calculation formulas

This commit is contained in:
2026-04-24 23:27:25 +02:00
parent 8ab3ddb8eb
commit 439ea891ca
3 changed files with 60 additions and 34 deletions

View File

@@ -19,7 +19,6 @@ namespace RTL
{
private:
STATIC CUSHORT DaysInMonth[2][12];
STATIC CUSHORT DaysPrecedingMonth[2][12];
public:
STATIC XTAPI XTSTATUS TimeFieldsToUnixEpoch(IN PTIME_FIELDS TimeFields,