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

    Interface GanZhiPair

    GanZhi (天干地支) pair

    Represents a position in the sexagenary cycle using a Heavenly Stem (天干) index and an Earthly Branch (地支) index.

    const pair: GanZhiPair = { gan: 0, zhi: 0 } // 甲子
    
    interface GanZhiPair {
        gan: number;
        zhi: number;
    }
    Index

    Properties

    Properties

    gan: number

    Heavenly Stem (天干) index (0-9). 0=甲, 1=乙, ..., 9=癸

    zhi: number

    Earthly Branch (地支) index (0-11). 0=子, 1=丑, ..., 11=亥