UNPKG

lunar-typescript-optimize

Version:

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

16 lines (15 loc) 494 B
import { SolarMonth } from './SolarMonth'; export declare class SolarHalfYear { private readonly _year; private readonly _month; static fromYm(year: number, month: number): SolarHalfYear; static fromDate(date: Date): SolarHalfYear; constructor(year: number, month: number); getYear(): number; getMonth(): number; getIndex(): number; next(halfYears: number): SolarHalfYear; getMonths(): SolarMonth[]; toString(): string; toFullString(): string; }