pike.hubbe.net

[Top]
Calendar
Calendar.TimeRange
previousCalendar.TimeRange()->strictly_succeeds() Calendar.TimeRange()->succeeds()next

Method Calendar.TimeRange()->subtract()


Method subtract

object(TimeRange) Calendar.TimeRange()->subtract(object(TimeRange) what)

Description

This subtracts a period of time from another;

>- the past          the future -<
|-------called-------|
     |-------other--------|
<---->  <- called->subtract(other)
 
|-------called-------|
     |---third---|
<---->           <---> <- called->subtract(third)


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