User:MtPenguinMonster/testing
From Attu Project
More actions
Testing ref tags
Caseic Calendar to Haracalnde calculations
- 0-0-01 = 7-9 559 TT = 277th day of 559 TT
- 0-3-03 = 30-12 559 TT = 360th day of 559 TT
Number of days = Cy × 351 + Cm × 27 + Cd
To find Haracalnde day:
- Year = -559 + (Number of days - 83) / 360 [Rounded up]
- Month = (Number of days - 83 - 360 × (Year + 558)) / 30 [Rounded down]
- Day = Number of days - 83 - 360 × (Year + 558) - 30 × Month
If Year would be greater than or equal to zero, set Year to Year+1 after doing these calculations, to account for the lack of 0 PC
Test Cases
7-9 559 TT (0-0-1) 29-11 559 TT (0-3-2) 30-11 559 TT (0-3-3) 1-12 559 TT (0-3-4) 23-12 559 TT (0-3-26) 1-1 24 TT (548-0-7)
References should collect here
- ↑ Eeble
- ↑ Greeble
