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 10631mean Hijri year 354.36667 days
mean Gregorian year 365.2425gap per year 10.8758 days
full circuit of the seasons: 32.58 Gregorian years
= 33.58 Hijri years
AH1 Shawwal (tabular)weekdayday of yearearlier by
14412020-05-24Sun145-
14422021-05-13Thu13312
14432022-05-03Tue12310
14442023-04-22Sat11211
14452024-04-10Wed10111
14462025-03-31Mon9011
14472026-03-20Fri7911
14482027-03-10Wed6910
14492028-02-27Sun5811
14502029-02-15Thu4612
14512030-02-05Tue3610
14522031-01-25Sat2511
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 = r

Single 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