picolisp

Unnamed repository; edit this file to name it for gitweb.
git clone https://logand.com/git/picolisp.git/
Log | Files | Refs | README | LICENSE

commit 584194fceb6af154a4e7504cc0fd625b7bc8ef0f
parent ea3e1f264176741bc6085680275c877f0c8896f1
Author: Alexander Burger <abu@software-lab.de>
Date:   Wed, 10 Aug 2011 09:16:16 +0200

Slight modification of 'date' docs
Diffstat:
Mdoc/ref.html | 2+-
Mdoc/refD.html | 16++++++++--------
Mdoc/tut.html | 4++--
3 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/doc/ref.html b/doc/ref.html @@ -1775,7 +1775,7 @@ abbreviations: <li><code>any</code> - Anything: Any primary data type <li><code>flg</code> - Flag: Boolean value (<code>NIL</code> or non-<code>NIL</code>) <li><code>cnt</code> - A count or a small number -<li><code>dat</code> - Date: Days since first of March, in the year 0 A.D. +<li><code>dat</code> - Date: Days, starting first of March of the year 0 A.D. <li><code>tim</code> - Time: Seconds since midnight <li><code>obj</code> - Object/Class: A symbol with methods and/or classes <li><code>var</code> - Variable: Either a symbol or a cell diff --git a/doc/refD.html b/doc/refD.html @@ -203,14 +203,14 @@ href="refD.html#datStr">datStr</a></code>. <dt><code>(date 'dat) -> (y m d)</code> <dt><code>(date 'y 'm 'd) -> dat | NIL</code> <dt><code>(date '(y m d)) -> dat | NIL</code> -<dd>Calculates a (gregorian) calendar date, represented as the number of days -since first of March in the year 0. When called without arguments, the current -date is returned. When called with a <code>T</code> argument, the current -Coordinated Universal Time (UTC) is returned. When called with a single number -<code>dat</code>, it is taken as a date and a list with the corresponding year, -month and day is returned. When called with three numbers (or a list of three -numbers) for the year, month and day, the corresponding date is returned (or -<code>NIL</code> if they do not represent a legal date). See also <code><a +<dd>Calculates a (gregorian) calendar date. It is represented as a day number, +starting first of March of the year 0 AD. When called without arguments, the +current date is returned. When called with a <code>T</code> argument, the +current Coordinated Universal Time (UTC) is returned. When called with a single +number <code>dat</code>, it is taken as a date and a list with the corresponding +year, month and day is returned. When called with three numbers (or a list of +three numbers) for the year, month and day, the corresponding date is returned +(or <code>NIL</code> if they do not represent a legal date). See also <code><a href="refT.html#time">time</a></code>, <code><a href="refS.html#stamp">stamp</a></code>, <code><a href="ref_.html#$dat">$dat</a></code>, <code><a diff --git a/doc/tut.html b/doc/tut.html @@ -1925,8 +1925,8 @@ relations as <code>+Joint</code>s. </code></pre> <p>They are all searchable via a non-unique index (<code>+Ref</code>). Date -values in PicoLisp are just numbers, representing the numbers of days since -first of March in the year zero. +values in PicoLisp are just numbers, representing the day number (starting first +of March of the year zero). <p>A method <code>url&gt;</code> is defined: