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

version» Context lines:

pike.git/lib/modules/Calendar.pmod/TimeRanges.pmod:1:   //! module Calendar    - //! submodule TimeRanges + // $Id: TimeRanges.pmod,v 1.26 2003/11/16 16:19:39 grubba Exp $    - // $Id: TimeRanges.pmod,v 1.25 2003/11/16 16:13:36 grubba Exp $ -  +    #pike __REAL_VERSION__      #define zero int(0..0)      program SuperTimeRange=cSuperTimeRange;      string calendar_name() { return "TimeRanges"; }      object calendar_object=this_object();   
pike.git/lib/modules/Calendar.pmod/TimeRanges.pmod:955:    default:    return 0;    }    }   }      // ----------------------------------------------------------------      //!   //! module Calendar - //! submodule TimeRanges +    //! class SuperTimeRange   //! This class handles the cases where you have a time   //! period with holes. These can be created by the   //! <tt>^</tt> or <tt>|</tt> operators on time ranges.   //! inherits TimeRange      class cSuperTimeRange   {    inherit TimeRange;   
pike.git/lib/modules/Calendar.pmod/TimeRanges.pmod:1154:    }       TimeRange set_timezone(string|.Rule.Timezone tz)    {   // fixme?    return `|(@map(parts,"set_timezone",tz));    }   }      //! module Calendar - //! submodule TimeRanges +    //! constant TimeRange nulltimerange   //! This represents the null time range,   //! which, to differ from the zero time range   //! (the zero-length time range), isn't placed   //! in time. This is the result of for instance   //! <ref>`&</ref> between two strict non-overlapping   //! timeranges - no time at all.   //!   //! It has a constant, <tt>is_nulltimerange</tt>, which   //! is non-zero. <tt>`!</tt> on this timerange is true.