lunar-typescript-optimize
Version:
A TypeScript library for Solar and Chinese Lunar calendar calculations, with optimized build and browser compatibility
47 lines (46 loc) • 649 B
JavaScript
export class NineStarUtil {
static NUMBER = [
"{n.one}",
"{n.two}",
"{n.three}",
"{n.four}",
"{n.five}",
"{n.six}",
"{n.seven}",
"{n.eight}",
"{n.nine}"
];
static WU_XING = [
"{wx.shui}",
"{wx.tu}",
"{wx.mu}",
"{wx.mu}",
"{wx.tu}",
"{wx.jin}",
"{wx.jin}",
"{wx.tu}",
"{wx.huo}"
];
static POSITION = [
"N",
"SW",
"E",
"SE",
"C",
"NW",
"W",
"NE",
"S"
];
static COLOR = [
"{s.white}",
"{s.black}",
"{s.blue}",
"{s.green}",
"{s.yellow}",
"{s.white}",
"{s.red}",
"{s.white}",
"{s.purple}"
];
}