pike.git / lib / modules / Calendar.pmod / Coptic.pmod

version» Context lines:

pike.git/lib/modules/Calendar.pmod/Coptic.pmod:1: + #pike __REAL_VERSION__ +  + //! This is the Coptic Orthodox Church calendar, + //! that starts the 11th or 12th September and has + //! 13 months.   //! - //! module Calendar - //! submodule Coptic + //! @note + //! The (default) names of the months + //! are different then other the emacs calendar; + //! I do not know which ones are used - the difference + //! seem to be only the transcription of the phonetic sounds + //! (B <-> P, etc).   //! - //! This is the Coptic Orthodox Church calendar, - //! that starts the 11th or 12th September and has - //! 13 months. - //! - //! note: - //! The (default) names of the months - //! are different then other the emacs calendar; - //! I do not know which ones are used - the difference - //! seem to be only the transcription of the phonetic sounds - //! (B &lt;-&gt; P, etc). - //! - //! I do not know for how long back the calendar is valid, - //! either. My sources claim that the calendar is synchronized - //! with the <ref>Gregorian</ref> calendar, which is odd. - //! + //! I do not know for how long back the calendar is valid, + //! either. My sources claim that the calendar is synchronized + //! with the @[Gregorian] calendar, which is odd.    - #pike __REAL_VERSION__ -  - import "."; +    // inherit some rules from Gregorian, like week numbering - inherit Gregorian:Gregorian; + inherit .Gregorian:Gregorian;      string calendar_name() { return "Coptic"; }      private static mixed __initstuff=lambda()   {    f_week_day_shortname_from_number="gregorian_week_day_shortname_from_number";    f_week_day_name_from_number="gregorian_week_day_name_from_number";    f_week_day_number_from_name="gregorian_week_day_number_from_name";       f_year_name_from_number="coptic_year_name_from_number";