3dword
DST_CalcTransition(
byte ruleOrdinal,
byte ruleDay,
byte ruleMonth,
byte ruleHour,
byte ruleMin, dword StartDate)
8 byte month, day, weekDay;
9 dword toppyNow, workingDate;
16 TAP_ExtractMjd(toppyNow >> 16, &year, &month, &day, &weekDay);
19 if(ruleMonth < month) year++;
25 if(workingDate < toppyNow)
dword DST_CalcTransition(byte ruleOrdinal, byte ruleDay, byte ruleMonth, byte ruleHour, byte ruleMin, dword StartDate)
dword DST_GetNextTransition(byte ruleOrdinal, byte ruleDay, byte ruleMonth, byte ruleHour, byte ruleMin, word ruleYear)