UNPKG

lunar-typescript-optimize

Version:

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

23 lines (22 loc) 661 B
import { Lunar } from './Lunar'; import { Solar } from './Solar'; import { DaYun } from './DaYun'; export declare class Yun { private readonly _gender; private readonly _startYear; private readonly _startMonth; private readonly _startDay; private readonly _startHour; private readonly _forward; private readonly _lunar; constructor(lunar: Lunar, gender: number, sect?: number); getGender(): number; getStartYear(): number; getStartMonth(): number; getStartDay(): number; getStartHour(): number; isForward(): boolean; getLunar(): Lunar; getStartSolar(): Solar; getDaYun(n?: number): DaYun[]; }