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

version» Context lines:

pike.git/lib/modules/Calendar.pmod/TimeRanges.pmod:1:   //! module Calendar    - // $Id: TimeRanges.pmod,v 1.14 2001/04/20 17:26:45 mirar Exp $ + // $Id: TimeRanges.pmod,v 1.15 2001/04/20 20:55:07 mirar Exp $      #pike __REAL_VERSION__      #define zero int(0..0)      import ".";      program SuperTimeRange=cSuperTimeRange;      string calendar_name() { return "TimeRanges"; }
pike.git/lib/modules/Calendar.pmod/TimeRanges.pmod:491:   //!   //! |----A----| A preceeds B,   //! |----B----| A overlaps B, A touches B   //!   //! |-------A-------| A preceeds B, A ends with B   //! |----B----| A overlaps B, A contains B, A touches B,   //!   //! |-------A-------| A preceeds B, A succeeds B,   //! |---B---| A overlaps B, A contains B, A touches B   //! - //! |----A----| A overlaps B, A touches B + //! |----A----| A overlaps B, A touches B, A contains B   //! |----B----| A equals B, A starts with B, A ends with B   //!   //! |-------A-------| A succeeds B, A starts with B   //! |----B----| A overlaps B, A contains B, A touches B   //!   //! |----A----| A succeeds B,   //! |----B----| A overlaps B, A touches B   //!   //! |----A----| A strictly succeeds B, A succeeds B   //! |----B----| A is next to B, A touches B