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

version» Context lines:

pike.git/lib/modules/Calendar.pmod/TimeRanges.pmod:1:   //! module Calendar    - // $Id: TimeRanges.pmod,v 1.18 2001/06/09 15:00:50 mirar Exp $ + // $Id: TimeRanges.pmod,v 1.19 2003/01/26 09:11:16 mirar Exp $      #pike __REAL_VERSION__      #define zero int(0..0)      import ".";      program SuperTimeRange=cSuperTimeRange;      string calendar_name() { return "TimeRanges"; }
pike.git/lib/modules/Calendar.pmod/TimeRanges.pmod:1146:    case 'O':    return "SuperTimeRange("+    map(parts,"_sprintf",'O')*", "+")";    case 't':    return "SuperTimeRange("+    map(parts,"_sprintf",'t')*", "+")";    }    return ::_sprintf(t,m);    }    -  TimeRange set_timezone(string|Timezone tz) +  TimeRange set_timezone(string|Ruleset.Timezone tz)    {   // fixme?    return `|(@map(parts,"set_timezone",tz));    }   }      //! constant TimeRange nulltimerange   //! This represents the null time range,   //! which, to differ from the zero time range   //! (the zero-length time range), isn't placed