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

version» Context lines:

pike.git/lib/modules/Calendar.pmod/TZnames.pmod:20:   //! <pre>   //! ({ string country_code,   //! string position,   //! string zone_name,   //! string comment })   //! </pre>   //!   //! To convert the position to a Geography.Position, simply   //! feed it to the constructor.    - static string raw_zone_tab=0; + protected string raw_zone_tab=0;   string _zone_tab()   {    return raw_zone_tab ||    (raw_zone_tab = ( master()->master_read_file(    combine_path(__FILE__,"..","tzdata/zone.tab")) - "\r"));   }    - static array(array(string)) parsed_zone_tab=0; + protected array(array(string)) parsed_zone_tab=0;   array(array(string)) zone_tab()   {    return parsed_zone_tab ||    (parsed_zone_tab=    map(_zone_tab()/"\n",    lambda(string s)    {    if (s=="" || s[0]=='#')    return 0;    else
pike.git/lib/modules/Calendar.pmod/TZnames.pmod:52:    else return v;    }    })    -({0}));   }      //! method array(string) zonenames()   //! This reads the zone.tab file and returns name of all   //! standard timezones, like "Europe/Belgrade".    - static array(string) zone_names=0; + protected array(string) zone_names=0;   array(string) zonenames()   {    return zone_names || (zone_names=column(zone_tab(),2));   }      //! constant mapping(string:array(string)) zones   //! This constant is a mapping that can be   //! used to loop over to get all the region-based   //! timezones.   //!
pike.git/lib/modules/Calendar.pmod/TZnames.pmod:1437:    -7200:    ([ "test":-788918400, // 1945-01-01 00:00:00    -7200:"Europe/Amsterdam",    -3600:    ([ "test":-1283472000, // 1929-05-01 00:00:00    -3600:"Europe/Luxembourg",    0:"Europe/Brussels",]),]),]),]),]),    -7200:"Europe/Warsaw",]),]),]);       +