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

version» Context lines:

pike.git/lib/modules/Calendar.pmod/module.pmod:9:   (<    "ISO_UTC","II", "default_rules",    "_sprintf", "set_timezone", "language", "Day", "Year", "Week",    "Month", "Hour", "Minute", "datetime", "format_iso",    "format_iso_short", "format_iso_tod", "YMD_Time", "parse", "dwim_day",    "dwim_time", "datetime_name", "datetime_short_name", "format_day_iso",    "format_day_iso_short", "SuperTimeRange",    "calendar_name", "calendar_object", "TimeRange",    "nulltimerange", "ruleset", "set_ruleset", "inano", "timezone",    "set_language", "default_rules", "TimeofDay", -  "Second", "Fraction", "now" >); +  "Second", "Fraction", "now", "Bahai" >);      #include "localization.h"      #if 1   static mixed `[](string what)   {    if (!booted)    {    if (what == "_module_value") return UNDEFINED;    booted++;
pike.git/lib/modules/Calendar.pmod/module.pmod:45: Inside #if 1
   object tz=    master()->resolv("Calendar")["Timezone"][default_timezone];    if (!tz)    error("Failed to make default timezone %O\n",default_timezone);    else    default_rules->timezone=tz; // destructive!    }    if ( !magic[what] || (stage && what!="default_rules")) return UNDEFINED;    switch (what)    { +  case "Bahai": +  return master()->resolv("Calendar")["Badi"];    case "ISO_UTC":    if (!iso_utc)    error("ERROR\n");    return iso_utc;    case "II":    return 1;    case "default_rules":    if (!default_rules)    {    default_rules=master()->resolv("Calendar")["Ruleset"]();