Branch: Tag:

1999-11-23

1999-11-23 20:24:27 by Mirar (Pontus Hagland) <pike@sort.mirar.org>

datetime -> to calendars

Rev: lib/modules/Calendar.pmod/Gregorian.pmod:1.21
Rev: lib/modules/Calendar.pmod/ISO.pmod:1.7
Rev: lib/modules/Calendar.pmod/module.pmod:1.5

1328:   </text>      </doc> + <module name='Gregorian'> + <doc> + <text> + <p>time units: + <ref resolved='predef::Calendar.Gregorian.Year'>Year</ref>, <ref>Month</ref>, <ref>Week</ref>, <ref>Day</ref> + </p> + </text> +  + </doc>   <docgroup homogen-name='datetime' homogen-type='method'>   <method name='datetime'>    <returntype><mixed/></returntype>
1373:      </doc>   </docgroup> - <module name='Gregorian'> - <doc> - <text> - <p>time units: - <ref resolved='predef::Calendar.Gregorian.Year'>Year</ref>, <ref>Month</ref>, <ref>Week</ref>, <ref>Day</ref> - </p> - </text> +     - </doc> -  +    <class name='Year'>   <doc>   <text>
1418:   %e weekday (needs %y, %w)   %h hour (needs %d, %D or %W)   %m minute (needs %h) - %s second (needs %s)</p> + %s second (needs %s) + </p>   </text>      </doc>
1478:   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>