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

version» Context lines:

pike.git/lib/modules/Calendar.pmod/Swedish.pmod:1: + // by Mirar +    inherit Calendar.ISO:ISO;      void create()   {    month_names=    ({"januari","februari","mars","april","maj","juni","juli","augusti",    "september","oktober","november","december"});       week_day_names=    ({"mÃ¥ndag","tisdag","onsdag","torsdag",
pike.git/lib/modules/Calendar.pmod/Swedish.pmod:71:    int i;    foreach (this->namedays(),array a)    {    foreach (a,string name) m[lower_case(name)]=i;    i++;    }    _nameday_lookup =    namedays_lookup_cache[this->leap()+" "+this->leap_day()] = m;    }    +  if (zero_type(_nameday_lookup[lower_case(name)])) return 0;    return this->day(_nameday_lookup[lower_case(name)]);    }   }      class Day   {    inherit ISO::Day;       array(string) names()    {