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

version» Context lines:

pike.git/lib/modules/Calendar.pmod/Swedish.pmod:24:   class Year   {    inherit Calendar.Gregorian.Year;       string name()    {    if (this->number()<=0)    return (string)(1-this->number())+" fk";    return (string)this->number();    } +  +  int leap_day() +  { +  if (y>1999) return 31+29-1; // 29 Feb +  return 31+24-1; // 24 Feb    } -  + }