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

version» Context lines:

pike.git/lib/modules/Calendar.pmod/Time.pmod:148:    {   // 1970-01-01 is julian day 2440588    jd-=2440588;    float fjd=(jd-(int)jd)-0.5;    ls=CALUNKNOWN;    create_unixtime_default(((int)jd)*86400+(int)(fjd*86400));    }      // make base   // needed in ymd - /*static*/ TimeRange make_base() + /*protected*/ TimeRange make_base()    {    base=Day("unix_r",ux,rules);    if (len) base=base->range(Day("unix_r",ux+len,rules));   // werror("make base -> %O\n",base);    return base;    }      // make local second    protected void make_local()    {