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

version» Context lines:

pike.git/lib/modules/Calendar.pmod/Time.pmod:19:   //- an hour is 3600 seconds, a minute is 60 seconds      inherit Calendar.TimeRanges:TimeRanges;      #include "constants.h"      // from inherited module      function(mixed...:TimeRange) Day;    - // sanity check -  - #ifndef __AUTO_BIGNUM__ - #error Calendar.Time needs bignums (Gmp.mpz) - #endif -  +    Calendar.Rule.Timezone Timezone_UTC=    Calendar.Rule.Timezone(0,"UTC"); // needed for dumping      string calendar_name() { return "Time"; }      //------------------------------------------------------------------------   //! class TimeofDay   //! Virtual class used by e.g. Hour.   //------------------------------------------------------------------------