calendar: minor doc fixes

db4
Slava Pestov 2010-09-18 17:41:56 -07:00
parent 8ccaa417ab
commit dd3cfb1268
1 changed files with 6 additions and 6 deletions

View File

@ -519,7 +519,7 @@ HELP: since-1970
{ $description "Adds the duration to the beginning of Unix time and returns the result as a timestamp." } ; { $description "Adds the duration to the beginning of Unix time and returns the result as a timestamp." } ;
ARTICLE: "calendar" "Calendar" ARTICLE: "calendar" "Calendar"
"The two data types used throughout the calendar library:" "The " { $vocab-link "calendar" } " vocabulary defines two data types and a set of operations on them:"
{ $subsections { $subsections
timestamp timestamp
duration duration
@ -533,13 +533,12 @@ ARTICLE: "calendar" "Calendar"
now now
gmt gmt
} }
"Converting between timestamps:" "Time zones:"
{ $subsections { $subsections
>local-time >local-time
>gmt >gmt
convert-timezone
} }
"Converting between timezones:"
{ $subsections convert-timezone }
"Timestamps relative to each other:" "Timestamps relative to each other:"
{ $subsections "relative-timestamps" } { $subsections "relative-timestamps" }
"Operations on units of time:" "Operations on units of time:"
@ -548,9 +547,10 @@ ARTICLE: "calendar" "Calendar"
"months" "months"
"days" "days"
} }
"Both " { $link timestamp } "s and " { $link duration } "s implement the " { $link "math.order" } "."
$nl
"Meta-data about the calendar:" "Meta-data about the calendar:"
{ $subsections "calendar-facts" } { $subsections "calendar-facts" } ;
;
ARTICLE: "timestamp-arithmetic" "Timestamp arithmetic" ARTICLE: "timestamp-arithmetic" "Timestamp arithmetic"
"Adding timestamps and durations, or durations and durations:" "Adding timestamps and durations, or durations and durations:"