@muxiandong/cc-ancient-helper
v1.0.3
Published
A simple helper.Its main function is to get the ancient time.
Downloads
4
Readme
npm-Mu-Ancient-Helper
介绍
一个简易帮助类,获取古代时间
A simple helper.Its main function is to get the ancient time.
安装教程
- 使用
npm install @muxiandong/cc-ancient-helper
安装 npm
使用说明
import { MF_Ancient_Helper } from '@muxiandong/cc-ancient-helper'
let a = MF_Ancient_Helper.convertSolarTimeToLunarTime(6, 20); // 六月二十
let b = MF_Ancient_Helper.translateTimeToAncientChineseFifthHour(19, 30); // 一更天
let c = MF_Ancient_Helper.translateTimeToAncientChineseTwelveHours(19); // 戌时