Branch: Tag:

1999-02-13

1999-02-13 19:03:38 by Fredrik Noring <noring@nocrew.org>

Added three new functions:

mapping(string:int) datetime(int|void unix_time);
string datetime_name(int|void unix_time);
string datetime_short_name(int|void unix_time);

Rev: lib/modules/Calendar.pmod/module.pmod:1.2

1392:   </text>      </doc> + <docgroup homogen-name='datetime' homogen-type='method'> + <method name='datetime'> +  <returntype><mixed/></returntype> +  <arguments><argument name='unix_time'><type> +  <or><int/><void/></or></type></argument> +  +  </arguments> + </method><doc> + <text> + <p>Replacement for localtime. + </p> + </text> +  + </doc> + </docgroup> + <docgroup homogen-name='datetime_name' homogen-type='method'> + <method name='datetime_name'> +  <returntype><mixed/></returntype> +  <arguments><argument name='unix_time'><type> +  <or><int/><void/></or></type></argument> +  +  </arguments> + </method><doc> + <text> + <p>Replacement for ctime. + </p> + </text> +  + </doc> + </docgroup> + <docgroup homogen-name='datetime_short_name' homogen-type='method'> + <method name='datetime_short_name'> +  <returntype><mixed/></returntype> +  <arguments><argument name='unix_time'><type> +  <or><int/><void/></or></type></argument> +  +  </arguments> + </method><doc> + <text> + <p>Replacement for ctime. + </p> + </text> +  + </doc> + </docgroup>   <module name='Gregorian'>   <doc>   <text>
1497:   The <tt>+</tt> operator gives that logical relative object,   ie <tt>my_day+14</tt> gives 14 days ahead.   <tt>-</tt> works the same way, but can also take an object - of the same type and give the difference as an integer.</p> + of the same type and give the difference as an integer. + </p>   </text>      </doc>