deploy: v0.12 存档迁移+考古日志滚动条

This commit is contained in:
2026-06-24 03:04:38 +00:00
parent 4831505ef9
commit b4c6111516
58986 changed files with 7569452 additions and 31667 deletions
+17
View File
@@ -0,0 +1,17 @@
import { type HebrewMonthCode } from "./constants.js";
/**
* Calculate the modulus that always returns a positive remainder. Useful when
* applying 19-year leap cycles.
*/
export declare function mod(value: number, divisor: number): number;
/** Determine whether a Hebrew year includes the extra Adar I month. */
export declare function isHebrewLeapYear(year: number): boolean;
/** Return the absolute day for Rosh Hashanah (cached for reuse). */
export declare function roshHashanah(year: number): number;
/** Total days in a Hebrew year, accounting for leap and year type. */
export declare function daysInHebrewYear(year: number): number;
/** Returns the number of months in the specified year (12 or 13). */
export declare function monthsInHebrewYear(year: number): number;
/** Number of days in a given Hebrew month (by index). */
export declare function daysInHebrewMonth(year: number, monthIndex: number): number;
export declare function getMonthCode(year: number, monthIndex: number): HebrewMonthCode;