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

version» Context lines:

pike.git/lib/modules/Calendar.pmod/Time.pmod:1:   //!   //! module Calendar   //! submodule Time   //!   //! Base for time of day in calendars, ie   //! calendars with hours, minutes, seconds   //!   //! This module can't be used by itself, but   //! is inherited by other modules (<ref>ISO</ref> by <ref>YMD</ref>,   //! for instance). + //! + //! inherits TimeRanges      #pike __REAL_VERSION__      // #pragma strict_types      //- these classes majorly works on seconds   //- an hour is 3600 seconds, a minute is 60 seconds      inherit Calendar.TimeRanges:TimeRanges;   
pike.git/lib/modules/Calendar.pmod/Time.pmod:1584:   //!   //! It contains everything that is possible to do with a   //! <ref>Second</ref>, and also some methods of grabbing   //! the time period with higher resolution.   //!   //! note:   //! Internally, the fraction time period is measured in   //! nanoseconds. A shorter or more precise time period then   //! in nanoseconds is not possible within the current Fraction class.   //! - //! inherits TimeofDay + //! inherits Second   //------------------------------------------------------------------------      function(mixed...:cFraction) Fraction=cFraction;   class cFraction   {    inherit cSecond;       constant is_timeofday_f=1;    constant is_fraction=1;