mirror of
https://github.com/quantum5/qcal.git
synced 2025-07-26 19:34:10 -04:00
common: define HaabYear type
This commit is contained in:
parent
3cdbfd8ca0
commit
785f89bf6c
|
@ -108,8 +108,10 @@ export function jdnHaab(jdn: number): Haab {
|
|||
};
|
||||
}
|
||||
|
||||
export type HaabYear = number;
|
||||
|
||||
export type HaabExt = Haab & {
|
||||
year: number,
|
||||
year: HaabYear,
|
||||
};
|
||||
|
||||
export function jdnHaabExt(jdn: number): HaabExt {
|
||||
|
|
Loading…
Reference in a new issue