pike.hubbe.net

[Top]
Calendar
Calendar.TimeRange
previousCalendar.TimeRange()->add() Calendar.TimeRange()->beginning()next

Method Calendar.TimeRange()->`&()


Method `&

object(TimeRange) Calendar.TimeRange()->`&(object(TimeRange) with)

Description

Gives the cut on the called time period with another time period. The result is zero if the two periods doesn't overlap.

>- the past          the future -<
 |-------called-------|
      |-------other--------|
      >----- cut -----<
 


Extracted from Pike v7.3 release 11 at 2001-11-03.