What does Moving Festivals and Promotion Calendars conclude, in numbers, about “Eleven Days of Drift: the Arithmetic Islamic Calendar, the Thirty-Year Leap Cycle and the Official Announcement of Aidilfitri”?
Answer: Chapter 1 computes the drift of Aidilfitri with the arithmetic calendar and checks it against the announcements of the Keeper of the Rulers' Seal from 2020 to 2026.
Scope of the numbers: Sales series and lead times are illustrative; all calculations are generated by the book's programs. Every festival date follows the official announcement; the book treats the religious and cultural meaning of each festival with respect, passes no judgment on it, and is general analysis, not individualised business advice.
Data table
The numbers below are printed verbatim by the chapter's Python program and can be reproduced by running it. standard-library Python onlyprinted values that match the answer: 2020, 2026
| leap years of the 30-year cycle: 2 5 7 10 13 16 18 21 24 26 29 | ||||
| days per cycle 10631 | mean Hijri year 354.36667 days | |||
| mean Gregorian year 365.2425 | gap per year 10.8758 days | |||
| full circuit of the seasons: 32.58 Gregorian years | ||||
| = 33.58 Hijri years | ||||
| AH | 1 Shawwal (tabular) | weekday | day of year | earlier by |
| 1441 | 2020-05-24 | Sun | 145 | - |
| 1442 | 2021-05-13 | Thu | 133 | 12 |
| 1443 | 2022-05-03 | Tue | 123 | 10 |
| 1444 | 2023-04-22 | Sat | 112 | 11 |
| 1445 | 2024-04-10 | Wed | 101 | 11 |
| 1446 | 2025-03-31 | Mon | 90 | 11 |
| 1447 | 2026-03-20 | Fri | 79 | 11 |
| 1448 | 2027-03-10 | Wed | 69 | 10 |
| 1449 | 2028-02-27 | Sun | 58 | 11 |
| 1450 | 2029-02-15 | Thu | 46 | 12 |
| 1451 | 2030-02-05 | Tue | 36 | 10 |
| 1452 | 2031-01-25 | Sat | 25 | 11 |
Show the full program
# Chapter 1. p11: the tabular Islamic calendar and its drift.
# Model: the arithmetic (tabular) Islamic calendar as given by
# Reingold and Dershowitz (2018): a 30-year cycle with 11 leap
# years, year y leap when (14 + 11 y) mod 30 < 11; months of 30
# and 29 days alternate; epoch R.D. 227015 (Julian 622-07-16).
# Exact rational arithmetic with Fraction; the Gregorian mean year
# is 146097 / 400 days. Standard library only; nothing is random.
from datetime import date
from fractions import Fraction
EPOCH = 227015
def leap(y):
return (14 + 11 * y) % 30 < 11
def fixed(y, m, d):
return (d + 29 * (m - 1) + (6 * m - 1) // 11 + (y - 1) * 354
+ (3 + 11 * y) // 30 + EPOCH - 1)
DAYS = "Mon Tue Wed Thu Fri Sat Sun".split()
def doy(d):
return d.toordinal() - date(d.year, 1, 1).toordinal() + 1
def ylen(y):
return date(y + 1, 1, 1).toordinal() - date(y, 1, 1).toordinal()
if __name__ == "__main__":
lp = [y for y in range(1, 31) if leap(y)]
print("leap years of the 30-year cycle:", " ".join(map(str, lp)))
cyc = fixed(31, 1, 1) - fixed(1, 1, 1)
hy = Fraction(cyc, 30)
gy = Fraction(146097, 400)
gap = gy - hy
print("days per cycle {} mean Hijri year {:.5f} days".format(
cyc, float(hy)))
print("mean Gregorian year {:.4f} gap per year {:.4f} days".format(
float(gy), float(gap)))
print("full circuit of the seasons: {:.2f} Gregorian years".format(
float(hy / gap)))
print(" = {:.2f} Hijri years".format(
float(gy / gap)))
print("AH 1 Shawwal (tabular) weekday day of year earlier by")
prev = None
for h in range(1441, 1453):
r = fixed(h, 10, 1)
d = date.fromordinal(r)
e = "-" if prev is None else str(ylen(d.year - 1) - (r - prev))
print("{} {} {} {:3d} {:>3}".format(
h, d.isoformat(), DAYS[d.weekday()], doy(d), e))
prev = rSingle source and citation
Fan, Y. (2026). Moving Festival Calendars in Multicultural Malaysia: Overlaps of Hari Raya, Chinese New Year and Deepavali and the Alignment of Promotional Schedules (Version 1.0.0), Chapter 1: Eleven Days of Drift: the Arithmetic Islamic Calendar, the Thirty-Year Leap Cycle and the Official Announcement of Aidilfitri. 5D Library. DOI pending
DOI pending · monograph page goes live after publication · 5DL-B-313 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026313,
author = {Fan, Yafu},
title = {Moving Festival Calendars in Multicultural Malaysia: Overlaps of Hari Raya, Chinese New Year and Deepavali and the Alignment of Promotional Schedules},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}Other chapter answers in this book
- Chapter 2 · The Same-Date Trap: How Moving Festivals Distort Year-on-Year Comparisons
- Chapter 3 · The Mean Synodic Month and Chinese New Year: the Solstice Rule, Periodic Terms and Exceptional Years
- Chapter 4 · The Sidereal Window of Deepavali: Entry into Libra, the Eve of the New Moon and the Gap between Time Zones
- Chapter 5 · How Often Festivals Meet: Why a Uniform-Phase Model Fails
- Chapter 6 · Festival-Aligned Comparisons: an Event-Time Map, the Split of Ramadan and the Cost of Date Errors
- Chapter 7 · Eastern and Western Classics Examined: the Jingchu Suishi Ji and Bede's The Reckoning of Time
- Chapter 8 · Closing the Loop: a Promotion Calendar for Malaysia, Singapore and Taiwan, the Moving Festival Aligner and a Pre-Registered Test