UNPKG

lunar-typescript-optimize

Version:

A TypeScript library for Solar and Chinese Lunar calendar calculations, with optimized build and browser compatibility

20 lines (19 loc) 505 B
import { DaYun } from './DaYun'; import { Lunar } from './Lunar'; import { LiuYue } from './LiuYue'; export declare class LiuNian { private readonly _year; private readonly _age; private readonly _index; private _daYun; private readonly _lunar; constructor(daYun: DaYun, index: number); getYear(): number; getAge(): number; getIndex(): number; getLunar(): Lunar; getGanZhi(): string; getXun(): string; getXunKong(): string; getLiuYue(): LiuYue[]; }