chinese-lunar-date API - v1.0.5
    Preparing search index...

    Interface FestivalInfo

    Festival info

    Represents a traditional festival that falls on a specific lunar date. The name is localized according to the requested locale.

    interface FestivalInfo {
        day: number;
        key: string;
        leap: boolean;
        month: number;
        name: string;
    }
    Index

    Properties

    Properties

    day: number

    Lunar day (1-30)

    key: string

    Festival key (locale-independent identifier, e.g., "spring")

    leap: boolean

    Whether this festival is on a leap month

    month: number

    Lunar month (1-12)

    name: string

    Festival name (localized, e.g., "春节" for zh-CN, "春節" for zh-TW, "農曆新年" for zh-HK)