Extracted from Pike v7.4 release 35 at 2003-12-09.
pike.ida.liu.se
[Top]
predef::
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)|object|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.

direction1 is forward (next), -1 is backward (previous).