Extracted from Pike v7.6 release 61 at 2005-12-30.
pike.ida.liu.se
[Top]
Calendar
Calendar.Event
Calendar.Event.Day_Event

Method Calendar.Event.Day_Event()->scan_jd()


Method scan_jd

int scan_jd(.Calendar realm, int jd, int(-1..-1)|int(1..1) direction)

Description

These methods has to be defined, and is what really does some work. It should return the next or previos julian day (>jd) when the event occurs, or the constant NODAY if it doesn't.

Parameter direction
1

Forward (next),

-1

Backward (previous).