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

version» Context lines:

pike.git/lib/modules/Calendar.pmod/Timezone.pmod:634:    "import __Calendar_mkzone;\n"    " inherit TZRules;\n"    " array(array(string|int)) jd_year_periods(int jd)\n"    " {\n"    " [int y,int yjd,int leap]=gregorian_yjd(jd);\n"    " switch (y)\n"    " {\n"});       array sr=({});    -  int mn=min(@indices(rules-(<NUL_YEAR>))); +  int mn=min(@indices(rules)-({NUL_YEAR}));    int firstyear=99999,lastyear=0;       for (y=INF_YEAR;sizeof(r2);y--)    if (r2[y])    {    array z=r2[y];    multiset my=(<y>);       foreach (indices(r2),int y2)    if (join_periods(z,r2[y2],y,y2))