UNPKG

@iro/calendar

Version:

lunar is a calendar library for Solar and Chinese Lunar.

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