User:MtPenguinMonster/testing: Difference between revisions
From Attu Project
More actions
Content deleted Content added
→Caseic Calendar to Haracalnde calculations: More testing |
|||
| Line 17: | Line 17: | ||
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]] |
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 === |
|||
{{Caseic date|0|0|1}} |
{{Caseic date|0|0|1}} |
||
{{Caseic date|0|3|2}} |
{{Caseic date|0|3|2}} |
||
{{Caseic date|0|3|3}} |
{{Caseic date|0|3|3}} |
||
{{Caseic date|0|3|4}} |
|||
{{Caseic date|0|3|26}} |
|||
{{Caseic date|548|0|7}} |
{{Caseic date|548|0|7}} |
||
Revision as of 20:59, 10 May 2026
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
