UNPKG

@iro/calendar

Version:

lunar is a calendar library for Solar and Chinese Lunar.

13 lines (12 loc) 369 B
import { SolarMonth } from './SolarMonth'; export declare class SolarYear { private readonly _year; static fromYear(year: number): SolarYear; static fromDate(date: Date): SolarYear; constructor(year: number); getYear(): number; next(years: number): SolarYear; getMonths(): SolarMonth[]; toString(): string; toFullString(): string; }