pike.git / lib / modules / Calendar.pmod / Stardate.pmod

version» Context lines:

pike.git/lib/modules/Calendar.pmod/Stardate.pmod:222:    if (with->is_stardate)    b2=with->t,e2=b2+with->len;    else    ::_compare(with);   #define CMP(A,B) ( ((A)<(B))?-1:((A)>(B))?1:0 )    return ({ CMP(b1,b2),CMP(b1,e2),CMP(e1,b2),CMP(e1,e2) });    }       int __hash() { return (int)t; }    -  Calendar.TimeRange set_ruleset(.Ruleset r) +  Calendar.TimeRange set_ruleset(Calendar.Ruleset r)    {    return Tick("stardate",r,t,len);    }       string _sprintf(int t, mapping m)    {    switch (t)    {    case 'O':    if (len!=0.0)
pike.git/lib/modules/Calendar.pmod/Stardate.pmod:291:   function(mixed...:cTick) TNGDate=cTick;      // for events   function(mixed...:cTick) Day=cTick;      //------------------------------------------------------------------------   // global convinience functions   //------------------------------------------------------------------------      //! Give the zero-length time period of the current time. - /*.Time.TimeofDay*/cTick now() + /*Calendar.Time.TimeofDay*/cTick now()   {    return Tick();   }