Branch: Tag:

2008-06-28

2008-06-28 19:59:36 by Martin Nilsson <mani@lysator.liu.se>

static -> protected

Rev: lib/modules/Calendar.pmod/YMD.pike:1.35
Rev: lib/modules/Calendar.pmod/mkrules.pike:1.13
Rev: lib/modules/Stdio.pmod/Terminfo.pmod:1.28
Rev: lib/modules/Yabu.pmod/module.pmod:1.31
Rev: src/post_modules/GTK/new_build_pgtk.pike:1.29
Rev: src/post_modules/GTK/output/doc-pikeref.pike:1.15
Rev: src/post_modules/GTK/output/few.pike:1.7
Rev: src/post_modules/GTK/output/split.pike:1.15
Rev: src/post_modules/GTK2/build_pgtk.pike:1.15
Rev: src/post_modules/GTK2/output/doc-pikeref.pike:1.3
Rev: src/post_modules/GTK2/output/few.pike:1.8
Rev: src/post_modules/GTK2/output/split.pike:1.13

10:   // and zic(8) is the usual compiler.      // pike mkrules.pike ../data/{africa,antarctica,asia,australasia,backward,etcetera,europe,northamerica,pacificnew,southamerica,systemv} - // $Id: mkrules.pike,v 1.12 2008/05/18 13:15:17 grubba Exp $ + // $Id: mkrules.pike,v 1.13 2008/06/28 19:59:36 nilsson Exp $      #pike __REAL_VERSION__   
332:    FIXID(id)+"\n"    "{\n"    " inherit TZRules;\n" -  " static array(array(string|int)) jd_year_periods(int jd)\n" +  " protected array(array(string|int)) jd_year_periods(int jd)\n"    " {\n"    " [int y,int yjd,int leap]=gregorian_yjd(jd);\n"    " switch (y)\n"
810:   // this is the gregorian rule:   // ----------------------------------------------------------------    - static array gregorian_yjd(int jd) + protected array gregorian_yjd(int jd)   {    int d=jd-1721426;   
837:   {    constant is_timezone=1;    constant is_dst_timezone=1; -  static int offset_to_utc; +  protected int offset_to_utc;    string name;    -  static function(string:string) tzformat; -  static array names; +  protected function(string:string) tzformat; +  protected array names;    -  static void create(int offset,string _name) +  protected void create(int offset,string _name)    {    offset_to_utc=offset;    name=_name;
861:      // the Rule:   // which julian day does dst start and end this year? -  static array(array(string|int)) jd_year_periods(int jd); +  protected array(array(string|int)) jd_year_periods(int jd);      // is (midnight) this julian day dst?    array tz_jd(int jd)