Roxen.git / server / etc / modules / Variable.pmod / Schedule.pike

version» Context lines:

Roxen.git/server/etc/modules/Variable.pmod/Schedule.pike:241:    if (minute < 0) {    from->min = 0;    } else {    from->min = minute;    }    return from;    } else if ((from->hour == hour) && (from->min < minute)) {    from->min = minute;    return from;    } +  from->min = minute;    return localtime(mktime(from) + (24 - from->hour + hour)*3600 + delta);   }      int get_next( int last )   //! Get the next time that matches this schedule, starting from the   //! posix time @[last]. If last is 0, time(1) will be used instead.   //!   //! @returns   //! When the next scheduled event is, represented by a posix time integer.   //! Note that the returned time may already have occured, so all return