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

version» Context lines:

pike.git/lib/modules/Calendar.pmod/ISO.pmod:1: - //! - //! module Calendar - //! submodule ISO - //! - //! This is the standard western calendar, - //! which is a derivate of the Gregorian calendar, - //! but with weeks that starts on monday - //! instead of sunday. - //! - //! inherits Gregorian - //! -  +    #pike __REAL_VERSION__    - import "."; - inherit Gregorian:Gregorian; + //! This is the standard western calendar, which is a derivate + //! of the Gregorian calendar, but with weeks that starts on + //! Monday instead of Sunday.    -  + inherit .Gregorian:Gregorian; +    #include "constants.h"      string calendar_name() { return "ISO"; }      #define WEEK_MAJORITY 4      private static mixed __initstuff=lambda()   {    f_week_day_shortname_from_number="week_day_shortname_from_number";    f_week_day_name_from_number="week_day_name_from_number";