0.0
No commit activity in last 3 years
No release in over 3 years
This gem is used to convert Gregorian calendar to Coptic calendar. It also calculate Easter Orthodox date.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 1.10
~> 10.0
>= 0
 Project Readme

CopticDate

CopticDate is used to convert Gregorian date to Coptic Date. It is also used to calculate Easter date for Orthodox.

Installation

Add this line to your application's Gemfile:

gem 'coptic_date'

And then execute:

$ bundle

Or install it yourself as:

$ gem install coptic_date

Date Converter

	requested_date = Time.new(2015,9,8)
    CopticDate::get_coptic_year(requested_date) #1731
    CopticDate::get_coptic_month(requested_date) #13
    CopticDate::get_coptic_day(requested_date) #3

Calculate Easter Date

	CopticEaster::calculate_easter_date(2015) # 2015-04-12

Calculate Variable Feast Dates

	### Big Fast Date
	CopticVariableFeasts::big_fast_start_date(2014) # 2014,2,24

	### Jonah Fast Date
	CopticVariableFeasts::jonah_fast_start_date(2014) # 2014.2.10

	### Messengers Fast Date
	CopticVariableFeasts::messengers_fast_start_date(2014) # 2014.6.9

	### Messengers Feast Date
	CopticVariableFeasts::messengers_feast_date(2014) # 2014.7.12
	
	### Thomas Sunday
	CopticVariableFeasts::thomas_sunday(2014) # 2014.04.27
	
	### Ascension Feast Date
	CopticVariableFeasts::ascension_feast(2014) # 2014.05.29
	
	### Pentecost Feast Date
	CopticVariableFeasts::pentecost_feast(2014) # 2014.06.08

License

The gem is available as open source under the terms of the MIT License.