This is the local-time-duration Reference Manual, version 1.1, generated automatically by Declt version 3.0 "Montgomery Scott" on Tue Dec 22 14:17:31 2020 GMT+0.
• Systems | The systems documentation | |
• Files | The files documentation | |
• Packages | The packages documentation | |
• Definitions | The symbols documentation | |
• Indexes | Concepts, functions, variables and data types |
The main system appears first, followed by any subsystem dependency.
• The local-time-duration system |
WebCheckout, Inc.
MIT
local-time-duration: Simple duration functionality on top of local-time
1.1
local-time-duration.asd (file)
Files are sorted by type and then listed depth-first from the systems components trees.
• Lisp files |
Next: The local-time-duration/package․lisp file, Previous: Lisp files, Up: Lisp files [Contents][Index]
local-time-duration.asd
local-time-duration (system)
Next: The local-time-duration/defcomparator․lisp file, Previous: The local-time-duration․asd file, Up: Lisp files [Contents][Index]
local-time-duration (system)
package.lisp
Next: The local-time-duration/duration․lisp file, Previous: The local-time-duration/package․lisp file, Up: Lisp files [Contents][Index]
package.lisp (file)
local-time-duration (system)
defcomparator.lisp
%defcomparator (macro)
Next: The local-time-duration/format․lisp file, Previous: The local-time-duration/defcomparator․lisp file, Up: Lisp files [Contents][Index]
defcomparator.lisp (file)
local-time-duration (system)
duration.lisp
Next: The local-time-duration/timestamp․lisp file, Previous: The local-time-duration/duration․lisp file, Up: Lisp files [Contents][Index]
duration.lisp (file)
local-time-duration (system)
format.lisp
human-readable-duration (function)
Next: The local-time-duration/iso8601․lisp file, Previous: The local-time-duration/format․lisp file, Up: Lisp files [Contents][Index]
format.lisp (file)
local-time-duration (system)
timestamp.lisp
Previous: The local-time-duration/timestamp․lisp file, Up: Lisp files [Contents][Index]
timestamp.lisp (file)
local-time-duration (system)
iso8601.lisp
parse-iso8601-duration (function)
Next: Definitions, Previous: Files, Up: Top [Contents][Index]
Packages are listed by definition order.
• The local-time-duration-system package | ||
• The local-time-duration package |
Next: The local-time-duration package, Previous: Packages, Up: Packages [Contents][Index]
local-time-duration.asd
Previous: The local-time-duration-system package, Up: Packages [Contents][Index]
package.lisp (file)
ltd
Definitions are sorted by export status, category, package, and then by lexicographic order.
• Exported definitions | ||
• Internal definitions |
Next: Internal definitions, Previous: Definitions, Up: Definitions [Contents][Index]
• Exported compiler macros | ||
• Exported functions | ||
• Exported classes |
Next: Exported functions, Previous: Exported definitions, Up: Exported definitions [Contents][Index]
duration.lisp (file)
duration.lisp (file)
duration.lisp (file)
duration.lisp (file)
duration.lisp (file)
duration.lisp (file)
Next: Exported classes, Previous: Exported compiler macros, Up: Exported definitions [Contents][Index]
Returns a new duration instance representing the sum of the ‘WEEK‘, ‘DAY‘, ‘HOUR‘, ‘MINUTE‘, ‘SEC‘, and ‘NSEC‘ arguments. Durations are normalized, that is, (duration :hour 1) and (duration :minute 60) will result in duration instances with the same internal representation.
duration.lisp (file)
Returns a fresh duration as long as ‘DURATION‘ multiplied by ‘FACTOR‘.
duration.lisp (file)
Returns a fresh duration representing the sum of the lengths of its arguments.
duration.lisp (file)
Returns a fresh duration representing the result of subtracting the length of each argument in turn.
duration.lisp (file)
Returns two values: the first is the number of whole ‘UNIT‘s within ‘DURATION‘, and the second is a fresh duration representing the reamainder of the original duration after dividing it by ‘UNIT‘. ‘UNIT‘ must be one of :week, :day, :hour, :minute, :sec, and :nsec.
duration.lisp (file)
duration.lisp (file)
duration.lisp (file)
Returns a fresh duration that is as long as ‘DURATION‘ divided by ‘DIVISOR‘.
duration.lisp (file)
Returns ‘T‘ if every duration is not equally long, else returns ‘NIL‘.
duration.lisp (file)
Returns ‘T‘ if every duration is shorter than the preceding duration, else returns ‘NIL‘.
duration.lisp (file)
Returns ‘T‘ if every duration is shorter than or equal to the preceding duration, else returns ‘NIL‘.
duration.lisp (file)
Returns ‘T‘ if every duration is equally long, else returns ‘NIL‘.
duration.lisp (file)
Returns ‘T‘ if every duration is longer than the preceding duration, else returns ‘NIL‘.
duration.lisp (file)
Returns ‘T‘ if every duration is longer than or equal to the preceding duration, else returns ‘NIL‘.
duration.lisp (file)
format.lisp (file)
Parser for ISO8601 durations (with limitations) returning DURATION instances.
http://en.wikipedia.org/wiki/ISO_8601#Durations
The only, known, divergence from the syntax specified is that
fractional values are allowed anywhere and not only in the smallest
value.
iso8601.lisp (file)
Returns a duration representing the time elapsed between the timestamps ‘TIME-A‘ and ‘TIME-B‘. This duration may be negative if ‘TIME-B‘ is later than ‘TIME-A‘.
timestamp.lisp (file)
Returns a fresh timestamp representing the time when ‘DURATION‘ has elapsed after ‘TIMESTAMP‘.
timestamp.lisp (file)
Returns a fresh timestamp representing the time when ‘DURATION‘ will elapse before ‘TIMESTAMP‘.
timestamp.lisp (file)
Previous: Exported functions, Up: Exported definitions [Contents][Index]
A duration instance represents a period of time with no additional context (e.g., starting or ending time or location).
duration.lisp (file)
standard-object (class)
integer
:day
0
day-of (generic function)
(setf day-of) (generic function)
integer
:sec
0
sec-of (generic function)
(setf sec-of) (generic function)
integer
:nsec
0
nsec-of (generic function)
(setf nsec-of) (generic function)
Previous: Exported definitions, Up: Definitions [Contents][Index]
• Internal constants | ||
• Internal macros | ||
• Internal functions | ||
• Internal generic functions |
Next: Internal macros, Previous: Internal definitions, Up: Internal definitions [Contents][Index]
duration.lisp (file)
duration.lisp (file)
duration.lisp (file)
duration.lisp (file)
duration.lisp (file)
Next: Internal functions, Previous: Internal constants, Up: Internal definitions [Contents][Index]
defcomparator.lisp (file)
Binds VAR to the stream designated (as per cl:format’s stream
argument) by the value STREAM and executes BODY.
If STREAM is nil VAR will be bound to a string-output-stream and the resulting string will be returned, otherwise the actual stream object used will be returned. In either case the return value of BODY is ignored.
format.lisp (file)
Next: Internal generic functions, Previous: Internal macros, Up: Internal definitions [Contents][Index]
duration.lisp (file)
duration.lisp (file)
duration.lisp (file)
duration.lisp (file)
duration.lisp (file)
duration.lisp (file)
duration.lisp (file)
format.lisp (file)
iso8601.lisp (file)
Returns, as multiple values, DURATION’s logical components:
(nsecs secs minutes hours days weeks months years)
If WEEKS is T days the days component of DURATION will first be used
to compute an integral number of weeks, and the remainder days will be
returned. If WEEKS is NIL (the default) the weeks value will always be
0 and the whole number of days will be returned as DAYS.
In the current implementation MONTHS and YEARS are always 0.
duration.lisp (file)
iso8601.lisp (file)
iso8601.lisp (file)
format.lisp (file)
iso8601.lisp (file)
iso8601.lisp (file)
Previous: Internal functions, Up: Internal definitions [Contents][Index]
automatically generated reader method
duration.lisp (file)
automatically generated writer method
duration.lisp (file)
automatically generated reader method
duration.lisp (file)
automatically generated writer method
duration.lisp (file)
automatically generated reader method
duration.lisp (file)
automatically generated writer method
duration.lisp (file)
Previous: Definitions, Up: Top [Contents][Index]
• Concept index | ||
• Function index | ||
• Variable index | ||
• Data type index |
Next: Function index, Previous: Indexes, Up: Indexes [Contents][Index]
Jump to: | F L |
---|
Jump to: | F L |
---|
Next: Variable index, Previous: Concept index, Up: Indexes [Contents][Index]
Jump to: | %
(
C D F G H M N P S T W |
---|
Jump to: | %
(
C D F G H M N P S T W |
---|
Next: Data type index, Previous: Function index, Up: Indexes [Contents][Index]
Jump to: | +
C D N S |
---|
Jump to: | +
C D N S |
---|
Previous: Variable index, Up: Indexes [Contents][Index]
Jump to: | C D L P S |
---|
Jump to: | C D L P S |
---|