How to use the date-easter.orthodoxEaster function in date-easter

To help you get started, we’ve selected a few date-easter 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 / Easter.js View on Github external
constructor (opts) {
    opts = opts || {}
    super(opts)

    this._fn = easter.easter
    if (opts.type === 'orthodox') {
      this._fn = easter.orthodoxEaster
    }
  }

date-easter

Calculates Easter for a given year

MIT
Latest version published 8 months ago

Package Health Score

58 / 100
Full package analysis