Branch: Tag:

2004-03-30

2004-03-30 18:11:59 by Martin Nilsson <mani@lysator.liu.se>

Return value fixes.

Rev: lib/modules/Calendar.pmod/Time.pmod:1.33
Rev: lib/modules/Calendar.pmod/TimeRanges.pmod:1.28

1:   //! module Calendar    - // $Id: TimeRanges.pmod,v 1.27 2004/01/11 00:51:22 nilsson Exp $ + // $Id: TimeRanges.pmod,v 1.28 2004/03/30 18:11:59 nilsson Exp $      #pike __REAL_VERSION__   
882:   //! this may include timezone shanges,   //! and change the time of day.    -  TimeRange set_ruleset(.Ruleset r); +  this_program set_ruleset(.Ruleset r);    .Ruleset ruleset()    {    return rules;
903:   //! <tt>Year(2003)-&gt;...-&gt;set_timezone(TimeZone.CET)-&gt;...-&gt;hour(14)-&gt;...</tt>   //!    -  TimeRange set_timezone(string|.Rule.Timezone tz) +  this_program set_timezone(string|.Rule.Timezone tz)    {    return set_ruleset(rules->set_timezone(tz));    }
918:   //! method Language language()   //! Set or get the current language rule.    -  TimeRange set_language(string|.Rule.Language lang) +  this_program set_language(string|.Rule.Language lang)    {    return set_ruleset(rules->set_language(lang));    }