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

version» Context lines:

pike.git/lib/modules/Calendar.pmod/Orthodox.pmod:1: + inherit Calendar.Gregorian : christ;    -  + class Year + { +  inherit Calendar.Gregorian.Year; +  +  int leap() // tack, hubbe... :-) +  { +  switch(y%900) +  { +  case 0: +  case 100: +  case 300: +  case 400: +  case 500: +  case 700: +  case 800: return 0; +  case 200: +  case 600: return 1; +  default: return !(y%4); +  } +  } + };   Newline at end of file added.