eastertime

package module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2016 License: BSD-3-Clause Imports: 3 Imported by: 5

README

Build Status

easter time for go (GOLANG)

GOLANG package to compute easter date / time

package provides functions to get

  • Catholic easter date by year
  • Orthodox easter date by year

It uses Delambre Butcher and Meeus Julian algorithms

License

see LICENSE file https://github.com/vjeantet/eastertime/blob/master/LICENSE

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CatholicByYear

func CatholicByYear(year int) (time.Time, error)

CatholicByYear returns time.Time for midnight on Catholic Easter of a given year use Delambre and Butcher's and return time based on Gregorian calendar

@param int year The year as a number greater than 0 @return time.Time The easter date as a time.Time @return errors.Error Error if exists, else nil

func OrthodoxByYear

func OrthodoxByYear(year int) (time.Time, error)

OrthodoxByYear returns time.Time for midnight on Orthodox Easter of a given year use Meeus Julian algorithm and return time based on Gregorian calendar

@param int year The year as a number greater than 325 @return time.Time The easter date as a time.Time @return errors.Error Error if exists, else nil

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL