How to use the date-chinese.CalendarKorean function in date-chinese

To help you get started, we’ve selected a few date-chinese examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github commenthol / date-holidays-parser / src / Chinese.js View on Github external
constructor (opts) {
    opts = opts || {}
    super(opts)
    switch (opts.fn) {
      case 'chinese':
        this.cal = new CalChinese.CalendarChinese()
        break
      case 'korean':
        this.cal = new CalChinese.CalendarKorean()
        break
      case 'vietnamese':
        this.cal = new CalChinese.CalendarVietnamese()
        break
    }
  }

date-chinese

Chinese Calendar

MIT
Latest version published 3 years ago

Package Health Score

50 / 100
Full package analysis