@muxiandong/cc-ancient-helper

1.0.3 • Public • Published

npm-Mu-Ancient-Helper

介绍

一个简易帮助类,获取古代时间

A simple helper.Its main function is to get the ancient time.

安装教程

  1. 使用 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); // 戌时

Dependencies (0)

    Dev Dependencies (2)

    Package Sidebar

    Install

    npm i @muxiandong/cc-ancient-helper

    Weekly Downloads

    1

    Version

    1.0.3

    License

    MIT

    Unpacked Size

    12.1 kB

    Total Files

    4

    Last publish

    Collaborators

    • muxiandong