Socket
Book a DemoInstallSign in
Socket

coptic_date

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

coptic_date

2.4.1
bundlerRubygems
Version published
Maintainers
1
Created
Source

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.

FAQs

Package last updated on 10 Sep 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.