The periods Reference Manual

This is the periods Reference Manual, version 0.0.2, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 07:15:57 2024 GMT+0.

Table of Contents


1 Introduction


2 Systems

The main system appears first, followed by any subsystem dependency.


2.1 periods

Utilities for manipulating time ranges and distances, based on LOCAL-TIME.

Maintainer

Christophe Junke <>

Author

Johh Wiegley <>

License

BSD-3

Version

0.0.2

Dependency

local-time (system).

Source

periods.asd.

Child Components

3 Files

Files are sorted by type and then listed depth-first from the systems components trees.


3.1 Lisp


3.1.1 periods/periods.asd

Source

periods.asd.

Parent Component

periods (system).

ASDF Systems

periods.


3.1.2 periods/periods.lisp

Source

periods.asd.

Parent Component

periods (system).

Packages

periods.

Public Interface
Internals

3.1.3 periods/strptime.lisp

Dependency

periods.lisp (file).

Source

periods.asd.

Parent Component

periods (system).

Public Interface
Internals

read-integer (function).


3.1.4 periods/parser.lisp

Dependency

strptime.lisp (file).

Source

periods.asd.

Parent Component

periods (system).

Public Interface
Internals

4 Packages

Packages are listed by definition order.


4.1 periods

Source

periods.lisp.

Nickname

time-periods

Use List
  • common-lisp.
  • local-time.
Public Interface
Internals

5 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


5.1 Public Interface


5.1.1 Special variables

Special Variable: *input-time-format*
Package

periods.

Source

periods.lisp.

Special Variable: *output-time-format*
Package

periods.

Source

periods.lisp.


5.1.2 Macros

Macro: with-timestamp-range ((min-symbol max-symbol &optional update) &body body)

Define a context where (1) MIN-SYMBOL and MAX-SYMBOL are locally bound variables with NIL default values and (2) UPDATE names a lexically bound function which takes a timestamp and updates the variables MIN-SYMBOL and MAX-SYMBOL so that they respectively hold the earliest and latest timestamp after successive invocations. That function finally returns its input value. For example, the following code builds a TIME-RANGE instance from a list of dated transactions.

(with-timestamp-range (earliest latest)
(dolist (tt transaction)
(update-range (transaction-date tt)))
(time-range :begin earliest :end latest :end-inclusive-p t))

A custom name can be used to nest invocations:

(with-timestamp-range (earliest latest global-update-range) (dolist (jj journals)
(with-timestamp-range (<< >>)
(dolist (tt (journal-xact jj)) (gloal-update-range
(update-range (transaction-date tt))))
(format t "Journal earliest / latest: ~A / ~A~%" << >>))) (format t "Global earliest / latest: ~A / ~A~%" earliest latest))

Package

periods.

Source

periods.lisp.


5.1.3 Ordinary functions

Function: add-duration (left right)

Add one duration to another.

Package

periods.

Source

periods.lisp.

Function: add-time (fixed-time duration &key reverse)

Given a FIXED-TIME, add the supplied DURATION.

Example (reader notation requires calling LOCAL-TIME:ENABLE-READ-MACROS):

(add-time @2007-05-20T12:10:10.000 (duration :hours 50))
=> @2007-05-22T14:10:10.000

NOTE: This function always adds the largest increments first, so:

(add-time @2003-01-09 (duration :years 1 :days 20)) => @2004-02-29

If days has been added before years, the result would have been "@2004-03-01".

Package

periods.

Source

periods.lisp.

Function: current-year ()

Return the current year as a FIXNUM.

Package

periods.

Source

periods.lisp.

Function: day-of-week (fixed-time)

Return the day of the week associated with a given FIXED-TIME.
The result is a FIXNUM with 0 representing Sunday, through 6 on Saturday.

Package

periods.

Source

periods.lisp.

Function: duration (&rest args)

Create a DURATION object.

One thing to note about duration: there is no way to determine the total length of a duration in terms of any specific time quantity, without first binding that duration to a fixed point in time (after all, how many days are in a month if you don’t know which month it is?) Therefore, those looking for a function like "duration-seconds" are really wanting to work with ranges, not just durations.

Package

periods.

Source

periods.lisp.

Reader: duration-seconds (instance)
Writer: (setf duration-seconds) (instance)
Package

periods.

Source

periods.lisp.

Target Slot

seconds.

Function: falls-on-weekend-p (fixed-time)

Return T if the given FIXED-TIME occurs on a Saturday or Sunday.

Package

periods.

Source

periods.lisp.

Function: find-smallest-resolution (step-by)

Examine the property list STEP-BY and return the smallest unit of time specified.

For example, given the following property list:

(:DAY 10 :HOUR 5 :MINUTE 2)

The result is :MINUTE.

Package

periods.

Source

periods.lisp.

Function: fixed-time (&rest args)

Return a fixed point in time relative to the time of the call. ARGS is a property list giving a specific precision for the return value.

If the keyword argument :NOW is given, all else is ignored; this is equivalent to calling LOCAL-TIME:NOW.

Otherwise, any keyword arguments given override their corresponding elements in the current time. Further, any elements smaller in resolution than the finest specified element are reduced to 0 or 1, according to their position.

For example, assuming the current time is "@2007-11-17T23:02:00.000", compare these outputs:

(fixed-time :month 4) => @2007-04-01T00:00:00.000
(fixed-time :day 10) => @2007-11-10T00:00:00.000
(fixed-time :hour 15) => @2007-11-17T15:00:00.000

This behavior makes it very easy to return a fixed time for "april of this year", etc. If you wish to determine the date of the previous April, while preserving the current day of the month, hour of the day, etc., then see the function PREVIOUS-TIME.

Package

periods.

Source

periods.lisp.

Function: floor-time (fixed-time &optional resolution)

Reduce a fixed time to be no finer than RESOLUTION.

For example, if the date is 2007-04-20, and the resolution is :month, the date is floored to 2007-04-01. Anything smaller than the resolution is reduced to zero (or 1, if it is a day or month being reduced).

Package

periods.

Source

periods.lisp.

Function: leapp (year)

Return T if YEAR falls on a leap year.

Package

periods.

Source

periods.lisp.

Function: parse-time-period (string)
Package

periods.

Source

parser.lisp.

Function: parse-time-range (string)
Package

periods.

Source

parser.lisp.

Function: read-fixed-time (str in)
Package

periods.

Source

strptime.lisp.

Function: sleep-until (fixed-time)
Package

periods.

Source

periods.lisp.

Function: strftime (fixed-time &key format)
Package

periods.

Source

strptime.lisp.

Function: strptime (string &key format default-year)
Package

periods.

Source

strptime.lisp.

Function: strptime-decoded (string &key format)
Package

periods.

Source

strptime.lisp.

Function: subtract-duration (left right)

Subtract one duration from another.

Package

periods.

Source

periods.lisp.

Function: subtract-time (fixed-time duration)
Package

periods.

Source

periods.lisp.

Function: time-difference (left right)

Compute the duration existing between fixed-times LEFT and RIGHT.

The order of left or right is ignored; the returned DURATION, if added to the earlier value, will result in the later.

A complexity of this process which might surprise some is that larger quantities are added by ADD-TIME before smaller quantities. For example, what is the difference between 2003-02-10 and 2004-03-01? If you add years before days, the difference is 1 year and 20 days. If you were to add days before years, however, the difference would be 1 year and 21 days. The question, do you advance to 2004 and then calculate between 2-10 and 3-01, or do you move from 2-10 to 3-01, and then increment the year? This library chooses to add years before days, since this follows human reckoning a bit closer (i.e., a person would likely flip to the 2004 calendar and then start counting off days, rather than the other way around). This difference in reckoning can be tricky, however, so bear this in mind.

Package

periods.

Source

periods.lisp.

Function: time-period (&rest args)
Package

periods.

Source

periods.lisp.

Function: time-period-generator (period)
Package

periods.

Source

periods.lisp.

Function: time-range (&rest args)
Package

periods.

Source

periods.lisp.

Function: time-range-begin (range)
Setf Expander: (setf time-range-begin) (range)
Package

periods.

Source

periods.lisp.

Function: time-range-duration (range)
Package

periods.

Source

periods.lisp.

Function: time-range-end (range)
Package

periods.

Source

periods.lisp.

Function: time-within-range-p (fixed-time range)
Package

periods.

Source

periods.lisp.


5.1.4 Structures

Structure: duration
Package

periods.

Source

periods.lisp.

Direct superclasses

structure-object.

Direct slots
Slot: years
Type

integer

Initform

0

Readers

duration-years.

Writers

(setf duration-years).

Slot: months
Type

integer

Initform

0

Readers

duration-months.

Writers

(setf duration-months).

Slot: days
Type

integer

Initform

0

Readers

duration-days.

Writers

(setf duration-days).

Slot: hours
Type

integer

Initform

0

Readers

duration-hours.

Writers

(setf duration-hours).

Slot: minutes
Type

integer

Initform

0

Readers

duration-minutes.

Writers

(setf duration-minutes).

Slot: seconds
Type

integer

Initform

0

Readers

duration-seconds.

Writers

(setf duration-seconds).

Slot: milliseconds
Type

integer

Initform

0

Readers

duration-milliseconds.

Writers

(setf duration-milliseconds).

Slot: microseconds
Type

integer

Initform

0

Readers

duration-microseconds.

Writers

(setf duration-microseconds).

Slot: nanoseconds
Type

integer

Initform

0

Readers

duration-nanoseconds.

Writers

(setf duration-nanoseconds).

Structure: time-period
Package

periods.

Source

periods.lisp.

Direct superclasses

structure-object.

Direct slots
Slot: range
Readers

time-period-range.

Writers

(setf time-period-range).

Slot: step
Package

common-lisp.

Readers

time-period-step.

Writers

(setf time-period-step).

Slot: skip
Readers

time-period-skip.

Writers

(setf time-period-skip).

Structure: time-range
Package

periods.

Source

periods.lisp.

Direct superclasses

structure-object.

Direct slots
Slot: fixed-begin
Readers

get-range-fixed-begin.

Writers

(setf get-range-fixed-begin).

Slot: begin
Readers

get-range-begin.

Writers

(setf get-range-begin).

Slot: begin-inclusive-p
Initform

t

Readers

get-range-begin-inclusive-p.

Writers

(setf get-range-begin-inclusive-p).

Slot: fixed-end
Readers

get-range-fixed-end.

Writers

(setf get-range-fixed-end).

Slot: end
Readers

get-range-end.

Writers

(setf get-range-end).

Slot: end-inclusive-p
Readers

get-range-end-inclusive-p.

Writers

(setf get-range-end-inclusive-p).

Slot: duration
Readers

get-range-duration.

Writers

(setf get-range-duration).

Slot: anchor
Readers

get-range-anchor.

Writers

(setf get-range-anchor).


5.1.5 Types

Type: fixed-time ()
Package

periods.

Source

periods.lisp.


5.2 Internals


5.2.1 Special variables

Special Variable: *days-in-months*
Package

periods.

Source

periods.lisp.

Special Variable: *parser-readtable*
Package

periods.

Source

parser.lisp.

Special Variable: *token-stack*
Package

periods.

Source

parser.lisp.


5.2.2 Macros

Macro: do-relative-times ((var anchor relative-time end &optional result) &body body)

A ’do’ style version of the functional MAP-RELATIVE-TIMES macro.

The disadvantage to DO-RELATIVE-TIMES is that there is no way to ask for a reversed time sequence, or specify an inclusive endpoint.

Package

periods.

Source

periods.lisp.

Macro: do-time-period ((begin-var end-var next-begin-var period &optional result) &rest body)
Package

periods.

Source

periods.lisp.

Macro: do-times ((var start duration end &optional result) &body body)

A ’do’ style version of the functional MAP-TIMES macro.

The disadvantage to DO-TIMES is that there is no way to ask for a reversed time sequence, or specify an inclusive endpoint.

Package

periods.

Source

periods.lisp.

Macro: if-let (((var value)) &body body)
Package

periods.

Source

parser.lisp.

Macro: list-relative-times (anchor relative-time end &key reverse inclusive-p)

Return a list of all times within the given range.

Package

periods.

Source

periods.lisp.

Macro: list-time-period (period)
Package

periods.

Source

periods.lisp.

Macro: list-times (start duration end &key reverse inclusive-p)

Return a list of all times within the given range.

Package

periods.

Source

periods.lisp.

Macro: loop-relative-times (forms anchor relative-time end &key reverse inclusive-p)
Package

periods.

Source

periods.lisp.

Macro: loop-time-period (forms period)
Package

periods.

Source

periods.lisp.

Macro: loop-times (forms start duration end &key reverse inclusive-p)

Map over a set of times separated by DURATION, calling CALLABLE with the start of each.

Package

periods.

Source

periods.lisp.

Macro: map-relative-times (callable anchor relative-time end &key reverse inclusive-p)

Map over a set of times separated by DURATION, calling CALLABLE with the start of each.

Package

periods.

Source

periods.lisp.

Macro: map-time-period (callable period)
Package

periods.

Source

periods.lisp.

Macro: map-times (callable start duration end &key reverse inclusive-p)

Map over a set of times separated by DURATION, calling CALLABLE with the start of each.

Package

periods.

Source

periods.lisp.

Macro: with-skippers (&body body)
Package

periods.

Source

periods.lisp.


5.2.3 Ordinary functions

Function: add-days (duration days)
Package

periods.

Source

periods.lisp.

Function: add-hours (duration hours)
Package

periods.

Source

periods.lisp.

Function: add-microseconds (duration microseconds)
Package

periods.

Source

periods.lisp.

Function: add-milliseconds (duration milliseconds)
Package

periods.

Source

periods.lisp.

Function: add-minutes (duration minutes)
Package

periods.

Source

periods.lisp.

Function: add-months (duration months)
Package

periods.

Source

periods.lisp.

Function: add-nanoseconds (duration nanoseconds)
Package

periods.

Source

periods.lisp.

Function: add-seconds (duration seconds)
Package

periods.

Source

periods.lisp.

Function: add-years (duration years)
Package

periods.

Source

periods.lisp.

Function: bounded-add (left right bound)

A bounded addition operator. Returns: VALUE CARRY.

Package

periods.

Source

periods.lisp.

Function: bounded-subtract (left right bound)

A bounded subtraction operator. Returns: VALUE CARRY.

Package

periods.

Source

periods.lisp.

Function: compile-duration (data)
Package

periods.

Source

parser.lisp.

Function: compile-relative-time (data)
Package

periods.

Source

parser.lisp.

Function: compile-time (data)
Package

periods.

Source

parser.lisp.

Function: copy-duration (instance)
Package

periods.

Source

periods.lisp.

Function: copy-relative-time (instance)
Package

periods.

Source

periods.lisp.

Function: copy-time-period (instance)
Package

periods.

Source

periods.lisp.

Function: copy-time-range (instance)
Package

periods.

Source

periods.lisp.

Function: day-begin (anchor)
Package

periods.

Source

periods.lisp.

Function: day-end (anchor &key inclusive-p)
Package

periods.

Source

periods.lisp.

Function: day-of (fixed-time)
Package

periods.

Source

periods.lisp.

Function: day-range (fixed-time &key begin-inclusive-p end-inclusive-p)
Package

periods.

Source

periods.lisp.

Function: days-in-month (month &optional year)
Package

periods.

Source

periods.lisp.

Function: details-match-relative-time-p (relative-time nsec ss mm hh day month year day-of-week daylight-p timezone tz-abbrev)

Return T if the given time elements honor the details in RELATIVE-TIME.

Package

periods.

Source

periods.lisp.

Reader: duration-days (instance)
Writer: (setf duration-days) (instance)
Package

periods.

Source

periods.lisp.

Target Slot

days.

Reader: duration-hours (instance)
Writer: (setf duration-hours) (instance)
Package

periods.

Source

periods.lisp.

Target Slot

hours.

Reader: duration-microseconds (instance)
Writer: (setf duration-microseconds) (instance)
Package

periods.

Source

periods.lisp.

Target Slot

microseconds.

Reader: duration-milliseconds (instance)
Writer: (setf duration-milliseconds) (instance)
Package

periods.

Source

periods.lisp.

Target Slot

milliseconds.

Reader: duration-minutes (instance)
Writer: (setf duration-minutes) (instance)
Package

periods.

Source

periods.lisp.

Target Slot

minutes.

Reader: duration-months (instance)
Writer: (setf duration-months) (instance)
Package

periods.

Source

periods.lisp.

Target Slot

months.

Reader: duration-nanoseconds (instance)
Writer: (setf duration-nanoseconds) (instance)
Package

periods.

Source

periods.lisp.

Target Slot

nanoseconds.

Function: duration-p (object)
Package

periods.

Source

periods.lisp.

Reader: duration-years (instance)
Writer: (setf duration-years) (instance)
Package

periods.

Source

periods.lisp.

Target Slot

years.

Function: enclosing-duration (relative-time)

Return a DURATION which, if applied to a time, causes NEXT-TIME to move to the next matching occurrence of that time pattern.

For example, if you ask for ’:day 18’ on Nov 18, it will return the same time back to you. If you add enclosing duration for that relative time to Nov 18 and then ask again, you’ll get Dec 18.

Package

periods.

Source

periods.lisp.

Reader: get-range-anchor (instance)
Writer: (setf get-range-anchor) (instance)
Package

periods.

Source

periods.lisp.

Target Slot

anchor.

Reader: get-range-begin (instance)
Writer: (setf get-range-begin) (instance)
Package

periods.

Source

periods.lisp.

Target Slot

begin.

Reader: get-range-begin-inclusive-p (instance)
Writer: (setf get-range-begin-inclusive-p) (instance)
Package

periods.

Source

periods.lisp.

Target Slot

begin-inclusive-p.

Reader: get-range-duration (instance)
Writer: (setf get-range-duration) (instance)
Package

periods.

Source

periods.lisp.

Target Slot

duration.

Reader: get-range-end (instance)
Writer: (setf get-range-end) (instance)
Package

periods.

Source

periods.lisp.

Target Slot

end.

Reader: get-range-end-inclusive-p (instance)
Writer: (setf get-range-end-inclusive-p) (instance)
Package

periods.

Source

periods.lisp.

Target Slot

end-inclusive-p.

Reader: get-range-fixed-begin (instance)
Writer: (setf get-range-fixed-begin) (instance)
Package

periods.

Source

periods.lisp.

Target Slot

fixed-begin.

Reader: get-range-fixed-end (instance)
Writer: (setf get-range-fixed-end) (instance)
Package

periods.

Source

periods.lisp.

Target Slot

fixed-end.

Function: hour-begin (anchor)
Package

periods.

Source

periods.lisp.

Function: hour-end (anchor &key inclusive-p)
Package

periods.

Source

periods.lisp.

Function: hour-of (fixed-time)
Package

periods.

Source

periods.lisp.

Function: hour-range (fixed-time &key begin-inclusive-p end-inclusive-p)
Package

periods.

Source

periods.lisp.

Function: ignore-character (stream char)
Package

periods.

Source

parser.lisp.

Function: make-duration (&key years months days hours minutes seconds milliseconds microseconds nanoseconds)
Package

periods.

Source

periods.lisp.

Function: make-duration-relative (data)
Package

periods.

Source

parser.lisp.

Function: make-relative-time (&key year month week day-of-week day hour minute second millisecond microsecond nanosecond)
Package

periods.

Source

periods.lisp.

Function: make-time-period (&key range step skip)
Package

periods.

Source

periods.lisp.

Function: make-time-range (&key fixed-begin begin begin-inclusive-p fixed-end end end-inclusive-p duration anchor)
Package

periods.

Source

periods.lisp.

Function: matches-relative-time-p (fixed-time relative-time)

Return T if the given FIXED-TIME honors the details in RELATIVE-TIME.

Package

periods.

Source

periods.lisp.

Function: microsecond-begin (anchor)
Package

periods.

Source

periods.lisp.

Function: microsecond-end (anchor &key inclusive-p)
Package

periods.

Source

periods.lisp.

Function: microsecond-of (fixed-time)
Package

periods.

Source

periods.lisp.

Function: microsecond-part (bignum)
Package

periods.

Source

periods.lisp.

Function: millisecond-begin (anchor)
Package

periods.

Source

periods.lisp.

Function: millisecond-end (anchor &key inclusive-p)
Package

periods.

Source

periods.lisp.

Function: millisecond-of (fixed-time)
Package

periods.

Source

periods.lisp.

Function: millisecond-part (bignum)
Package

periods.

Source

periods.lisp.

Function: minute-begin (anchor)
Package

periods.

Source

periods.lisp.

Function: minute-end (anchor &key inclusive-p)
Package

periods.

Source

periods.lisp.

Function: minute-of (fixed-time)
Package

periods.

Source

periods.lisp.

Function: minute-range (fixed-time &key begin-inclusive-p end-inclusive-p)
Package

periods.

Source

periods.lisp.

Function: monday-week-begin (anchor)
Package

periods.

Source

periods.lisp.

Function: monday-week-end (anchor &key inclusive-p)
Package

periods.

Source

periods.lisp.

Function: monday-week-range (fixed-time &key begin-inclusive-p end-inclusive-p)
Package

periods.

Source

periods.lisp.

Function: month-begin (anchor)
Package

periods.

Source

periods.lisp.

Function: month-end (anchor &key inclusive-p)
Package

periods.

Source

periods.lisp.

Function: month-of (fixed-time)
Package

periods.

Source

periods.lisp.

Function: month-range (fixed-time &key begin-inclusive-p end-inclusive-p)
Package

periods.

Source

periods.lisp.

Function: multiply-duration (left multiplier)

Add one duration to another.

Package

periods.

Source

periods.lisp.

Function: nanosecond-of (fixed-time)
Package

periods.

Source

periods.lisp.

Function: nanosecond-part (bignum)
Package

periods.

Source

periods.lisp.

Function: next-day (&optional fixed-time)
Package

periods.

Source

periods.lisp.

Function: next-friday (anchor &key reverse)
Package

periods.

Source

periods.lisp.

Function: next-hour (&optional fixed-time)
Package

periods.

Source

periods.lisp.

Function: next-microsecond (&optional fixed-time)
Package

periods.

Source

periods.lisp.

Function: next-millisecond (&optional fixed-time)
Package

periods.

Source

periods.lisp.

Function: next-minute (&optional fixed-time)
Package

periods.

Source

periods.lisp.

Function: next-monday (anchor &key reverse)
Package

periods.

Source

periods.lisp.

Function: next-monday-week (&optional fixed-time)
Package

periods.

Source

periods.lisp.

Function: next-month (&optional fixed-time)
Package

periods.

Source

periods.lisp.

Function: next-saturday (anchor &key reverse)
Package

periods.

Source

periods.lisp.

Function: next-second (&optional fixed-time)
Package

periods.

Source

periods.lisp.

Function: next-sunday (anchor &key reverse)
Package

periods.

Source

periods.lisp.

Function: next-sunday-week (&optional fixed-time)
Package

periods.

Source

periods.lisp.

Function: next-thursday (anchor &key reverse)
Package

periods.

Source

periods.lisp.

Function: next-time (anchor relative-time &key reverse accept-anchor recursive-call)

Compute the first time after FIXED-TIME which matches RELATIVE-TIME.

This function finds the first moment after FIXED-TIME which honors every element in RELATIVE-TIME:

(next-time @2007-05-20 (relative-time :month 3)) => @2008-03-20

The relative time constructor arguments may also be symbolic:

(relative-time :month :this)
(relative-time :month :next)
(relative-time :month :prev)

To find the date two weeks after next February, a combination of NEXT-TIME and ADD-TIME must be used, since "next February" is a relative time concept, while "two weeks" is a duration concept:

(add-time (next-time @2007-05-20 (relative-time :month 2))
(duration :days 14))

NOTE: The keyword arguments to RELATIVE-TIME are always singular; those to DURATION are always plural.

The following form resolves to the first sunday of the given year:

(next-time (previous-time @2007-05-20
(relative-time :month 1 :day 1)) (relative-time :week-day 0))

This form finds the first Friday the 13th after today:

(next-time @2007-05-20 (relative-time :day 13 :day-of-week 5))

NOTE: When adding times, NEXT-TIME always seeks the next time that fully honors your request. If asked for Feb 29, the year of the resulting time will fall in a leap year. If asked for Thu, Apr 29, it returns the next occurrence of Apr 29 which falls on a Friday. Example:

(next-time @2007-11-01
(relative-time :month 4 :day 29 :day-of-week 4))
=> @2010-04-29T00:00:00.000

Package

periods.

Source

periods.lisp.

Function: next-tuesday (anchor &key reverse)
Package

periods.

Source

periods.lisp.

Function: next-wednesday (anchor &key reverse)
Package

periods.

Source

periods.lisp.

Function: next-year (&optional fixed-time)
Package

periods.

Source

periods.lisp.

Function: p/cardinal (in &optional eof-error-p)
Package

periods.

Source

parser.lisp.

Function: p/days-of-week (in &optional eof-error-p)
Package

periods.

Source

parser.lisp.

Function: p/duration-spec (in &optional eof-error-p)
Package

periods.

Source

parser.lisp.

Function: p/fixed-time (in &optional eof-error-p)
Package

periods.

Source

parser.lisp.

Function: p/months-of-year (in &optional eof-error-p)
Package

periods.

Source

parser.lisp.

Function: p/number (in &optional eof-error-p)
Package

periods.

Source

parser.lisp.

Function: p/ordinal (in &optional eof-error-p)
Package

periods.

Source

parser.lisp.

Function: p/period-unit (in &optional eof-error-p)
Package

periods.

Source

parser.lisp.

Function: p/qualified-time (in &optional eof-error-p)
Package

periods.

Source

parser.lisp.

Function: p/relative-time (in &optional eof-error-p)
Package

periods.

Source

parser.lisp.

Function: p/time (in &optional eof-error-p)
Package

periods.

Source

parser.lisp.

Function: p/time-duration (in &optional eof-error-p)
Package

periods.

Source

parser.lisp.

Function: p/time-reference (in &optional eof-error-p)
Package

periods.

Source

parser.lisp.

Function: p/time-unit (in &optional eof-error-p)
Package

periods.

Source

parser.lisp.

Function: peek-token (in &optional eof-error-p)
Package

periods.

Source

parser.lisp.

Function: previous-day (&optional fixed-time)
Package

periods.

Source

periods.lisp.

Function: previous-friday (anchor)
Package

periods.

Source

periods.lisp.

Function: previous-hour (&optional fixed-time)
Package

periods.

Source

periods.lisp.

Function: previous-millisecond (&optional fixed-time)
Package

periods.

Source

periods.lisp.

Function: previous-minute (&optional fixed-time)
Package

periods.

Source

periods.lisp.

Function: previous-monday (anchor)
Package

periods.

Source

periods.lisp.

Function: previous-monday-week (&optional fixed-time)
Package

periods.

Source

periods.lisp.

Function: previous-month (&optional fixed-time)
Package

periods.

Source

periods.lisp.

Function: previous-nanosecond (&optional fixed-time)
Package

periods.

Source

periods.lisp.

Function: previous-saturday (anchor)
Package

periods.

Source

periods.lisp.

Function: previous-second (&optional fixed-time)
Package

periods.

Source

periods.lisp.

Function: previous-sunday (anchor)
Package

periods.

Source

periods.lisp.

Function: previous-sunday-week (&optional fixed-time)
Package

periods.

Source

periods.lisp.

Function: previous-thursday (anchor)
Package

periods.

Source

periods.lisp.

Function: previous-time (anchor relative-time &key accept-anchor)

This function is the reverse of ‘NEXT-TIME’. Please look there for more.

Package

periods.

Source

periods.lisp.

Function: previous-tuesday (anchor)
Package

periods.

Source

periods.lisp.

Function: previous-wednesday (anchor)
Package

periods.

Source

periods.lisp.

Function: previous-year (&optional fixed-time)
Package

periods.

Source

periods.lisp.

Function: range-dec (value min max)
Package

periods.

Source

periods.lisp.

Function: range-inc (value min max)
Package

periods.

Source

periods.lisp.

Function: read-from-stream (in &optional eof-error-p)
Package

periods.

Source

parser.lisp.

Function: read-integer (in &optional length skip-whitespace-p)
Package

periods.

Source

strptime.lisp.

Function: read-token (in &optional eof-error-p)
Package

periods.

Source

parser.lisp.

Function: relative-time (&rest args)
Package

periods.

Source

periods.lisp.

Reader: relative-time-day (instance)
Writer: (setf relative-time-day) (instance)
Package

periods.

Source

periods.lisp.

Target Slot

day.

Reader: relative-time-day-of-week (instance)
Writer: (setf relative-time-day-of-week) (instance)
Package

periods.

Source

periods.lisp.

Target Slot

day-of-week.

Function: relative-time-generator (anchor relative-time &key reverse)
Package

periods.

Source

periods.lisp.

Reader: relative-time-hour (instance)
Writer: (setf relative-time-hour) (instance)
Package

periods.

Source

periods.lisp.

Target Slot

hour.

Reader: relative-time-microsecond (instance)
Writer: (setf relative-time-microsecond) (instance)
Package

periods.

Source

periods.lisp.

Target Slot

microsecond.

Reader: relative-time-millisecond (instance)
Writer: (setf relative-time-millisecond) (instance)
Package

periods.

Source

periods.lisp.

Target Slot

millisecond.

Reader: relative-time-minute (instance)
Writer: (setf relative-time-minute) (instance)
Package

periods.

Source

periods.lisp.

Target Slot

minute.

Reader: relative-time-month (instance)
Writer: (setf relative-time-month) (instance)
Package

periods.

Source

periods.lisp.

Target Slot

month.

Reader: relative-time-nanosecond (instance)
Writer: (setf relative-time-nanosecond) (instance)
Package

periods.

Source

periods.lisp.

Target Slot

nanosecond.

Function: relative-time-p (object)
Package

periods.

Source

periods.lisp.

Reader: relative-time-second (instance)
Writer: (setf relative-time-second) (instance)
Package

periods.

Source

periods.lisp.

Target Slot

second.

Function: relative-time-stepper (relative-time &key reverse)
Package

periods.

Source

periods.lisp.

Reader: relative-time-week (instance)
Writer: (setf relative-time-week) (instance)
Package

periods.

Source

periods.lisp.

Target Slot

week.

Reader: relative-time-year (instance)
Writer: (setf relative-time-year) (instance)
Package

periods.

Source

periods.lisp.

Target Slot

year.

Function: second-begin (anchor)
Package

periods.

Source

periods.lisp.

Function: second-end (anchor &key inclusive-p)
Package

periods.

Source

periods.lisp.

Function: second-of (fixed-time)
Package

periods.

Source

periods.lisp.

Function: second-range (fixed-time &key begin-inclusive-p end-inclusive-p)
Package

periods.

Source

periods.lisp.

Function: set-microsecond-part (bignum usecs)
Package

periods.

Source

periods.lisp.

Function: set-millisecond-part (bignum msecs)
Package

periods.

Source

periods.lisp.

Function: set-nanosecond-part (bignum nsecs)
Package

periods.

Source

periods.lisp.

Function: subtract-days (duration days)
Package

periods.

Source

periods.lisp.

Function: subtract-hours (duration hours)
Package

periods.

Source

periods.lisp.

Function: subtract-microseconds (duration microseconds)
Package

periods.

Source

periods.lisp.

Function: subtract-milliseconds (duration milliseconds)
Package

periods.

Source

periods.lisp.

Function: subtract-minutes (duration minutes)
Package

periods.

Source

periods.lisp.

Function: subtract-months (duration months)
Package

periods.

Source

periods.lisp.

Function: subtract-nanoseconds (duration nanoseconds)
Package

periods.

Source

periods.lisp.

Function: subtract-seconds (duration seconds)
Package

periods.

Source

periods.lisp.

Function: subtract-years (duration years)
Package

periods.

Source

periods.lisp.

Function: sunday-week-begin (anchor)
Package

periods.

Source

periods.lisp.

Function: sunday-week-end (anchor &key inclusive-p)
Package

periods.

Source

periods.lisp.

Function: sunday-week-range (fixed-time &key begin-inclusive-p end-inclusive-p)
Package

periods.

Source

periods.lisp.

Function: this-day (&optional fixed-time)
Package

periods.

Source

periods.lisp.

Function: this-day-range ()
Package

periods.

Source

periods.lisp.

Function: this-friday (anchor &key reverse)
Package

periods.

Source

periods.lisp.

Function: this-hour (&optional fixed-time)
Package

periods.

Source

periods.lisp.

Function: this-hour-range ()
Package

periods.

Source

periods.lisp.

Function: this-microsecond (&optional fixed-time)
Package

periods.

Source

periods.lisp.

Function: this-millisecond (&optional fixed-time)
Package

periods.

Source

periods.lisp.

Function: this-minute (&optional fixed-time)
Package

periods.

Source

periods.lisp.

Function: this-minute-range ()
Package

periods.

Source

periods.lisp.

Function: this-monday (anchor &key reverse)
Package

periods.

Source

periods.lisp.

Function: this-monday-week (&optional fixed-time)
Package

periods.

Source

periods.lisp.

Function: this-monday-week-range ()
Package

periods.

Source

periods.lisp.

Function: this-month (&optional fixed-time)
Package

periods.

Source

periods.lisp.

Function: this-month-range ()
Package

periods.

Source

periods.lisp.

Function: this-saturday (anchor &key reverse)
Package

periods.

Source

periods.lisp.

Function: this-second (&optional fixed-time)
Package

periods.

Source

periods.lisp.

Function: this-second-range ()
Package

periods.

Source

periods.lisp.

Function: this-sunday (anchor &key reverse)
Package

periods.

Source

periods.lisp.

Function: this-sunday-week (&optional fixed-time)
Package

periods.

Source

periods.lisp.

Function: this-sunday-week-range ()
Package

periods.

Source

periods.lisp.

Function: this-thursday (anchor &key reverse)
Package

periods.

Source

periods.lisp.

Function: this-tuesday (anchor &key reverse)
Package

periods.

Source

periods.lisp.

Function: this-wednesday (anchor &key reverse)
Package

periods.

Source

periods.lisp.

Function: this-year (&optional fixed-time)
Package

periods.

Source

periods.lisp.

Function: this-year-range ()
Package

periods.

Source

periods.lisp.

Function: time-generator (start duration &key reverse)
Package

periods.

Source

periods.lisp.

Function: time-parser-tests ()
Package

periods.

Source

parser.lisp.

Function: time-period-begin (period)
Package

periods.

Source

periods.lisp.

Function: time-period-end (period)
Package

periods.

Source

periods.lisp.

Function: time-period-p (object)
Package

periods.

Source

periods.lisp.

Reader: time-period-range (instance)
Writer: (setf time-period-range) (instance)
Package

periods.

Source

periods.lisp.

Target Slot

range.

Reader: time-period-skip (instance)
Writer: (setf time-period-skip) (instance)
Package

periods.

Source

periods.lisp.

Target Slot

skip.

Reader: time-period-step (instance)
Writer: (setf time-period-step) (instance)
Package

periods.

Source

periods.lisp.

Target Slot

step.

Function: time-range-anchor (range)
Package

periods.

Source

periods.lisp.

Function: time-range-begin-inclusive-p (range)
Package

periods.

Source

periods.lisp.

Function: time-range-end-inclusive-p (range)
Package

periods.

Source

periods.lisp.

Function: time-range-next (range)
Package

periods.

Source

periods.lisp.

Function: time-range-p (object)
Package

periods.

Source

periods.lisp.

Function: time-range-previous (range)
Package

periods.

Source

periods.lisp.

Function: time-stepper (duration &key reverse)
Package

periods.

Source

periods.lisp.

Function: time-within-begin-end-p (fixed-time begin end)
Package

periods.

Source

periods.lisp.

Function: unread-token (in token)
Package

periods.

Source

parser.lisp.

Function: year-begin (anchor)
Package

periods.

Source

periods.lisp.

Function: year-end (anchor &key inclusive-p)
Package

periods.

Source

periods.lisp.

Function: year-of (fixed-time)
Package

periods.

Source

periods.lisp.

Function: year-range (fixed-time &key begin-inclusive-p end-inclusive-p)
Package

periods.

Source

periods.lisp.


5.2.4 Structures

Structure: relative-time
Package

periods.

Source

periods.lisp.

Direct superclasses

structure-object.

Direct slots
Slot: year
Type

(or keyword integer null)

Readers

relative-time-year.

Writers

(setf relative-time-year).

Slot: month
Type

(or keyword integer null)

Readers

relative-time-month.

Writers

(setf relative-time-month).

Slot: week
Type

(or keyword integer null)

Readers

relative-time-week.

Writers

(setf relative-time-week).

Slot: day-of-week
Type

(or keyword integer null)

Readers

relative-time-day-of-week.

Writers

(setf relative-time-day-of-week).

Slot: day
Type

(or keyword integer null)

Readers

relative-time-day.

Writers

(setf relative-time-day).

Slot: hour
Type

(or keyword integer null)

Readers

relative-time-hour.

Writers

(setf relative-time-hour).

Slot: minute
Type

(or keyword integer null)

Readers

relative-time-minute.

Writers

(setf relative-time-minute).

Slot: second
Package

common-lisp.

Type

(or keyword integer null)

Readers

relative-time-second.

Writers

(setf relative-time-second).

Slot: millisecond
Type

(or keyword integer null)

Readers

relative-time-millisecond.

Writers

(setf relative-time-millisecond).

Slot: microsecond
Type

(or keyword integer null)

Readers

relative-time-microsecond.

Writers

(setf relative-time-microsecond).

Slot: nanosecond
Type

(or keyword integer null)

Readers

relative-time-nanosecond.

Writers

(setf relative-time-nanosecond).


Appendix A Indexes


A.1 Concepts


A.2 Functions

Jump to:   (  
A   B   C   D   E   F   G   H   I   L   M   N   P   R   S   T   U   W   Y  
Index Entry  Section

(
(setf duration-days): Private ordinary functions
(setf duration-hours): Private ordinary functions
(setf duration-microseconds): Private ordinary functions
(setf duration-milliseconds): Private ordinary functions
(setf duration-minutes): Private ordinary functions
(setf duration-months): Private ordinary functions
(setf duration-nanoseconds): Private ordinary functions
(setf duration-seconds): Public ordinary functions
(setf duration-years): Private ordinary functions
(setf get-range-anchor): Private ordinary functions
(setf get-range-begin): Private ordinary functions
(setf get-range-begin-inclusive-p): Private ordinary functions
(setf get-range-duration): Private ordinary functions
(setf get-range-end): Private ordinary functions
(setf get-range-end-inclusive-p): Private ordinary functions
(setf get-range-fixed-begin): Private ordinary functions
(setf get-range-fixed-end): Private ordinary functions
(setf relative-time-day): Private ordinary functions
(setf relative-time-day-of-week): Private ordinary functions
(setf relative-time-hour): Private ordinary functions
(setf relative-time-microsecond): Private ordinary functions
(setf relative-time-millisecond): Private ordinary functions
(setf relative-time-minute): Private ordinary functions
(setf relative-time-month): Private ordinary functions
(setf relative-time-nanosecond): Private ordinary functions
(setf relative-time-second): Private ordinary functions
(setf relative-time-week): Private ordinary functions
(setf relative-time-year): Private ordinary functions
(setf time-period-range): Private ordinary functions
(setf time-period-skip): Private ordinary functions
(setf time-period-step): Private ordinary functions
(setf time-range-begin): Public ordinary functions

A
add-days: Private ordinary functions
add-duration: Public ordinary functions
add-hours: Private ordinary functions
add-microseconds: Private ordinary functions
add-milliseconds: Private ordinary functions
add-minutes: Private ordinary functions
add-months: Private ordinary functions
add-nanoseconds: Private ordinary functions
add-seconds: Private ordinary functions
add-time: Public ordinary functions
add-years: Private ordinary functions

B
bounded-add: Private ordinary functions
bounded-subtract: Private ordinary functions

C
compile-duration: Private ordinary functions
compile-relative-time: Private ordinary functions
compile-time: Private ordinary functions
copy-duration: Private ordinary functions
copy-relative-time: Private ordinary functions
copy-time-period: Private ordinary functions
copy-time-range: Private ordinary functions
current-year: Public ordinary functions

D
day-begin: Private ordinary functions
day-end: Private ordinary functions
day-of: Private ordinary functions
day-of-week: Public ordinary functions
day-range: Private ordinary functions
days-in-month: Private ordinary functions
details-match-relative-time-p: Private ordinary functions
do-relative-times: Private macros
do-time-period: Private macros
do-times: Private macros
duration: Public ordinary functions
duration-days: Private ordinary functions
duration-hours: Private ordinary functions
duration-microseconds: Private ordinary functions
duration-milliseconds: Private ordinary functions
duration-minutes: Private ordinary functions
duration-months: Private ordinary functions
duration-nanoseconds: Private ordinary functions
duration-p: Private ordinary functions
duration-seconds: Public ordinary functions
duration-years: Private ordinary functions

E
enclosing-duration: Private ordinary functions

F
falls-on-weekend-p: Public ordinary functions
find-smallest-resolution: Public ordinary functions
fixed-time: Public ordinary functions
floor-time: Public ordinary functions
Function, (setf duration-days): Private ordinary functions
Function, (setf duration-hours): Private ordinary functions
Function, (setf duration-microseconds): Private ordinary functions
Function, (setf duration-milliseconds): Private ordinary functions
Function, (setf duration-minutes): Private ordinary functions
Function, (setf duration-months): Private ordinary functions
Function, (setf duration-nanoseconds): Private ordinary functions
Function, (setf duration-seconds): Public ordinary functions
Function, (setf duration-years): Private ordinary functions
Function, (setf get-range-anchor): Private ordinary functions
Function, (setf get-range-begin): Private ordinary functions
Function, (setf get-range-begin-inclusive-p): Private ordinary functions
Function, (setf get-range-duration): Private ordinary functions
Function, (setf get-range-end): Private ordinary functions
Function, (setf get-range-end-inclusive-p): Private ordinary functions
Function, (setf get-range-fixed-begin): Private ordinary functions
Function, (setf get-range-fixed-end): Private ordinary functions
Function, (setf relative-time-day): Private ordinary functions
Function, (setf relative-time-day-of-week): Private ordinary functions
Function, (setf relative-time-hour): Private ordinary functions
Function, (setf relative-time-microsecond): Private ordinary functions
Function, (setf relative-time-millisecond): Private ordinary functions
Function, (setf relative-time-minute): Private ordinary functions
Function, (setf relative-time-month): Private ordinary functions
Function, (setf relative-time-nanosecond): Private ordinary functions
Function, (setf relative-time-second): Private ordinary functions
Function, (setf relative-time-week): Private ordinary functions
Function, (setf relative-time-year): Private ordinary functions
Function, (setf time-period-range): Private ordinary functions
Function, (setf time-period-skip): Private ordinary functions
Function, (setf time-period-step): Private ordinary functions
Function, add-days: Private ordinary functions
Function, add-duration: Public ordinary functions
Function, add-hours: Private ordinary functions
Function, add-microseconds: Private ordinary functions
Function, add-milliseconds: Private ordinary functions
Function, add-minutes: Private ordinary functions
Function, add-months: Private ordinary functions
Function, add-nanoseconds: Private ordinary functions
Function, add-seconds: Private ordinary functions
Function, add-time: Public ordinary functions
Function, add-years: Private ordinary functions
Function, bounded-add: Private ordinary functions
Function, bounded-subtract: Private ordinary functions
Function, compile-duration: Private ordinary functions
Function, compile-relative-time: Private ordinary functions
Function, compile-time: Private ordinary functions
Function, copy-duration: Private ordinary functions
Function, copy-relative-time: Private ordinary functions
Function, copy-time-period: Private ordinary functions
Function, copy-time-range: Private ordinary functions
Function, current-year: Public ordinary functions
Function, day-begin: Private ordinary functions
Function, day-end: Private ordinary functions
Function, day-of: Private ordinary functions
Function, day-of-week: Public ordinary functions
Function, day-range: Private ordinary functions
Function, days-in-month: Private ordinary functions
Function, details-match-relative-time-p: Private ordinary functions
Function, duration: Public ordinary functions
Function, duration-days: Private ordinary functions
Function, duration-hours: Private ordinary functions
Function, duration-microseconds: Private ordinary functions
Function, duration-milliseconds: Private ordinary functions
Function, duration-minutes: Private ordinary functions
Function, duration-months: Private ordinary functions
Function, duration-nanoseconds: Private ordinary functions
Function, duration-p: Private ordinary functions
Function, duration-seconds: Public ordinary functions
Function, duration-years: Private ordinary functions
Function, enclosing-duration: Private ordinary functions
Function, falls-on-weekend-p: Public ordinary functions
Function, find-smallest-resolution: Public ordinary functions
Function, fixed-time: Public ordinary functions
Function, floor-time: Public ordinary functions
Function, get-range-anchor: Private ordinary functions
Function, get-range-begin: Private ordinary functions
Function, get-range-begin-inclusive-p: Private ordinary functions
Function, get-range-duration: Private ordinary functions
Function, get-range-end: Private ordinary functions
Function, get-range-end-inclusive-p: Private ordinary functions
Function, get-range-fixed-begin: Private ordinary functions
Function, get-range-fixed-end: Private ordinary functions
Function, hour-begin: Private ordinary functions
Function, hour-end: Private ordinary functions
Function, hour-of: Private ordinary functions
Function, hour-range: Private ordinary functions
Function, ignore-character: Private ordinary functions
Function, leapp: Public ordinary functions
Function, make-duration: Private ordinary functions
Function, make-duration-relative: Private ordinary functions
Function, make-relative-time: Private ordinary functions
Function, make-time-period: Private ordinary functions
Function, make-time-range: Private ordinary functions
Function, matches-relative-time-p: Private ordinary functions
Function, microsecond-begin: Private ordinary functions
Function, microsecond-end: Private ordinary functions
Function, microsecond-of: Private ordinary functions
Function, microsecond-part: Private ordinary functions
Function, millisecond-begin: Private ordinary functions
Function, millisecond-end: Private ordinary functions
Function, millisecond-of: Private ordinary functions
Function, millisecond-part: Private ordinary functions
Function, minute-begin: Private ordinary functions
Function, minute-end: Private ordinary functions
Function, minute-of: Private ordinary functions
Function, minute-range: Private ordinary functions
Function, monday-week-begin: Private ordinary functions
Function, monday-week-end: Private ordinary functions
Function, monday-week-range: Private ordinary functions
Function, month-begin: Private ordinary functions
Function, month-end: Private ordinary functions
Function, month-of: Private ordinary functions
Function, month-range: Private ordinary functions
Function, multiply-duration: Private ordinary functions
Function, nanosecond-of: Private ordinary functions
Function, nanosecond-part: Private ordinary functions
Function, next-day: Private ordinary functions
Function, next-friday: Private ordinary functions
Function, next-hour: Private ordinary functions
Function, next-microsecond: Private ordinary functions
Function, next-millisecond: Private ordinary functions
Function, next-minute: Private ordinary functions
Function, next-monday: Private ordinary functions
Function, next-monday-week: Private ordinary functions
Function, next-month: Private ordinary functions
Function, next-saturday: Private ordinary functions
Function, next-second: Private ordinary functions
Function, next-sunday: Private ordinary functions
Function, next-sunday-week: Private ordinary functions
Function, next-thursday: Private ordinary functions
Function, next-time: Private ordinary functions
Function, next-tuesday: Private ordinary functions
Function, next-wednesday: Private ordinary functions
Function, next-year: Private ordinary functions
Function, p/cardinal: Private ordinary functions
Function, p/days-of-week: Private ordinary functions
Function, p/duration-spec: Private ordinary functions
Function, p/fixed-time: Private ordinary functions
Function, p/months-of-year: Private ordinary functions
Function, p/number: Private ordinary functions
Function, p/ordinal: Private ordinary functions
Function, p/period-unit: Private ordinary functions
Function, p/qualified-time: Private ordinary functions
Function, p/relative-time: Private ordinary functions
Function, p/time: Private ordinary functions
Function, p/time-duration: Private ordinary functions
Function, p/time-reference: Private ordinary functions
Function, p/time-unit: Private ordinary functions
Function, parse-time-period: Public ordinary functions
Function, parse-time-range: Public ordinary functions
Function, peek-token: Private ordinary functions
Function, previous-day: Private ordinary functions
Function, previous-friday: Private ordinary functions
Function, previous-hour: Private ordinary functions
Function, previous-millisecond: Private ordinary functions
Function, previous-minute: Private ordinary functions
Function, previous-monday: Private ordinary functions
Function, previous-monday-week: Private ordinary functions
Function, previous-month: Private ordinary functions
Function, previous-nanosecond: Private ordinary functions
Function, previous-saturday: Private ordinary functions
Function, previous-second: Private ordinary functions
Function, previous-sunday: Private ordinary functions
Function, previous-sunday-week: Private ordinary functions
Function, previous-thursday: Private ordinary functions
Function, previous-time: Private ordinary functions
Function, previous-tuesday: Private ordinary functions
Function, previous-wednesday: Private ordinary functions
Function, previous-year: Private ordinary functions
Function, range-dec: Private ordinary functions
Function, range-inc: Private ordinary functions
Function, read-fixed-time: Public ordinary functions
Function, read-from-stream: Private ordinary functions
Function, read-integer: Private ordinary functions
Function, read-token: Private ordinary functions
Function, relative-time: Private ordinary functions
Function, relative-time-day: Private ordinary functions
Function, relative-time-day-of-week: Private ordinary functions
Function, relative-time-generator: Private ordinary functions
Function, relative-time-hour: Private ordinary functions
Function, relative-time-microsecond: Private ordinary functions
Function, relative-time-millisecond: Private ordinary functions
Function, relative-time-minute: Private ordinary functions
Function, relative-time-month: Private ordinary functions
Function, relative-time-nanosecond: Private ordinary functions
Function, relative-time-p: Private ordinary functions
Function, relative-time-second: Private ordinary functions
Function, relative-time-stepper: Private ordinary functions
Function, relative-time-week: Private ordinary functions
Function, relative-time-year: Private ordinary functions
Function, second-begin: Private ordinary functions
Function, second-end: Private ordinary functions
Function, second-of: Private ordinary functions
Function, second-range: Private ordinary functions
Function, set-microsecond-part: Private ordinary functions
Function, set-millisecond-part: Private ordinary functions
Function, set-nanosecond-part: Private ordinary functions
Function, sleep-until: Public ordinary functions
Function, strftime: Public ordinary functions
Function, strptime: Public ordinary functions
Function, strptime-decoded: Public ordinary functions
Function, subtract-days: Private ordinary functions
Function, subtract-duration: Public ordinary functions
Function, subtract-hours: Private ordinary functions
Function, subtract-microseconds: Private ordinary functions
Function, subtract-milliseconds: Private ordinary functions
Function, subtract-minutes: Private ordinary functions
Function, subtract-months: Private ordinary functions
Function, subtract-nanoseconds: Private ordinary functions
Function, subtract-seconds: Private ordinary functions
Function, subtract-time: Public ordinary functions
Function, subtract-years: Private ordinary functions
Function, sunday-week-begin: Private ordinary functions
Function, sunday-week-end: Private ordinary functions
Function, sunday-week-range: Private ordinary functions
Function, this-day: Private ordinary functions
Function, this-day-range: Private ordinary functions
Function, this-friday: Private ordinary functions
Function, this-hour: Private ordinary functions
Function, this-hour-range: Private ordinary functions
Function, this-microsecond: Private ordinary functions
Function, this-millisecond: Private ordinary functions
Function, this-minute: Private ordinary functions
Function, this-minute-range: Private ordinary functions
Function, this-monday: Private ordinary functions
Function, this-monday-week: Private ordinary functions
Function, this-monday-week-range: Private ordinary functions
Function, this-month: Private ordinary functions
Function, this-month-range: Private ordinary functions
Function, this-saturday: Private ordinary functions
Function, this-second: Private ordinary functions
Function, this-second-range: Private ordinary functions
Function, this-sunday: Private ordinary functions
Function, this-sunday-week: Private ordinary functions
Function, this-sunday-week-range: Private ordinary functions
Function, this-thursday: Private ordinary functions
Function, this-tuesday: Private ordinary functions
Function, this-wednesday: Private ordinary functions
Function, this-year: Private ordinary functions
Function, this-year-range: Private ordinary functions
Function, time-difference: Public ordinary functions
Function, time-generator: Private ordinary functions
Function, time-parser-tests: Private ordinary functions
Function, time-period: Public ordinary functions
Function, time-period-begin: Private ordinary functions
Function, time-period-end: Private ordinary functions
Function, time-period-generator: Public ordinary functions
Function, time-period-p: Private ordinary functions
Function, time-period-range: Private ordinary functions
Function, time-period-skip: Private ordinary functions
Function, time-period-step: Private ordinary functions
Function, time-range: Public ordinary functions
Function, time-range-anchor: Private ordinary functions
Function, time-range-begin: Public ordinary functions
Function, time-range-begin-inclusive-p: Private ordinary functions
Function, time-range-duration: Public ordinary functions
Function, time-range-end: Public ordinary functions
Function, time-range-end-inclusive-p: Private ordinary functions
Function, time-range-next: Private ordinary functions
Function, time-range-p: Private ordinary functions
Function, time-range-previous: Private ordinary functions
Function, time-stepper: Private ordinary functions
Function, time-within-begin-end-p: Private ordinary functions
Function, time-within-range-p: Public ordinary functions
Function, unread-token: Private ordinary functions
Function, year-begin: Private ordinary functions
Function, year-end: Private ordinary functions
Function, year-of: Private ordinary functions
Function, year-range: Private ordinary functions

G
get-range-anchor: Private ordinary functions
get-range-begin: Private ordinary functions
get-range-begin-inclusive-p: Private ordinary functions
get-range-duration: Private ordinary functions
get-range-end: Private ordinary functions
get-range-end-inclusive-p: Private ordinary functions
get-range-fixed-begin: Private ordinary functions
get-range-fixed-end: Private ordinary functions

H
hour-begin: Private ordinary functions
hour-end: Private ordinary functions
hour-of: Private ordinary functions
hour-range: Private ordinary functions

I
if-let: Private macros
ignore-character: Private ordinary functions

L
leapp: Public ordinary functions
list-relative-times: Private macros
list-time-period: Private macros
list-times: Private macros
loop-relative-times: Private macros
loop-time-period: Private macros
loop-times: Private macros

M
Macro, do-relative-times: Private macros
Macro, do-time-period: Private macros
Macro, do-times: Private macros
Macro, if-let: Private macros
Macro, list-relative-times: Private macros
Macro, list-time-period: Private macros
Macro, list-times: Private macros
Macro, loop-relative-times: Private macros
Macro, loop-time-period: Private macros
Macro, loop-times: Private macros
Macro, map-relative-times: Private macros
Macro, map-time-period: Private macros
Macro, map-times: Private macros
Macro, with-skippers: Private macros
Macro, with-timestamp-range: Public macros
make-duration: Private ordinary functions
make-duration-relative: Private ordinary functions
make-relative-time: Private ordinary functions
make-time-period: Private ordinary functions
make-time-range: Private ordinary functions
map-relative-times: Private macros
map-time-period: Private macros
map-times: Private macros
matches-relative-time-p: Private ordinary functions
microsecond-begin: Private ordinary functions
microsecond-end: Private ordinary functions
microsecond-of: Private ordinary functions
microsecond-part: Private ordinary functions
millisecond-begin: Private ordinary functions
millisecond-end: Private ordinary functions
millisecond-of: Private ordinary functions
millisecond-part: Private ordinary functions
minute-begin: Private ordinary functions
minute-end: Private ordinary functions
minute-of: Private ordinary functions
minute-range: Private ordinary functions
monday-week-begin: Private ordinary functions
monday-week-end: Private ordinary functions
monday-week-range: Private ordinary functions
month-begin: Private ordinary functions
month-end: Private ordinary functions
month-of: Private ordinary functions
month-range: Private ordinary functions
multiply-duration: Private ordinary functions

N
nanosecond-of: Private ordinary functions
nanosecond-part: Private ordinary functions
next-day: Private ordinary functions
next-friday: Private ordinary functions
next-hour: Private ordinary functions
next-microsecond: Private ordinary functions
next-millisecond: Private ordinary functions
next-minute: Private ordinary functions
next-monday: Private ordinary functions
next-monday-week: Private ordinary functions
next-month: Private ordinary functions
next-saturday: Private ordinary functions
next-second: Private ordinary functions
next-sunday: Private ordinary functions
next-sunday-week: Private ordinary functions
next-thursday: Private ordinary functions
next-time: Private ordinary functions
next-tuesday: Private ordinary functions
next-wednesday: Private ordinary functions
next-year: Private ordinary functions

P
p/cardinal: Private ordinary functions
p/days-of-week: Private ordinary functions
p/duration-spec: Private ordinary functions
p/fixed-time: Private ordinary functions
p/months-of-year: Private ordinary functions
p/number: Private ordinary functions
p/ordinal: Private ordinary functions
p/period-unit: Private ordinary functions
p/qualified-time: Private ordinary functions
p/relative-time: Private ordinary functions
p/time: Private ordinary functions
p/time-duration: Private ordinary functions
p/time-reference: Private ordinary functions
p/time-unit: Private ordinary functions
parse-time-period: Public ordinary functions
parse-time-range: Public ordinary functions
peek-token: Private ordinary functions
previous-day: Private ordinary functions
previous-friday: Private ordinary functions
previous-hour: Private ordinary functions
previous-millisecond: Private ordinary functions
previous-minute: Private ordinary functions
previous-monday: Private ordinary functions
previous-monday-week: Private ordinary functions
previous-month: Private ordinary functions
previous-nanosecond: Private ordinary functions
previous-saturday: Private ordinary functions
previous-second: Private ordinary functions
previous-sunday: Private ordinary functions
previous-sunday-week: Private ordinary functions
previous-thursday: Private ordinary functions
previous-time: Private ordinary functions
previous-tuesday: Private ordinary functions
previous-wednesday: Private ordinary functions
previous-year: Private ordinary functions

R
range-dec: Private ordinary functions
range-inc: Private ordinary functions
read-fixed-time: Public ordinary functions
read-from-stream: Private ordinary functions
read-integer: Private ordinary functions
read-token: Private ordinary functions
relative-time: Private ordinary functions
relative-time-day: Private ordinary functions
relative-time-day-of-week: Private ordinary functions
relative-time-generator: Private ordinary functions
relative-time-hour: Private ordinary functions
relative-time-microsecond: Private ordinary functions
relative-time-millisecond: Private ordinary functions
relative-time-minute: Private ordinary functions
relative-time-month: Private ordinary functions
relative-time-nanosecond: Private ordinary functions
relative-time-p: Private ordinary functions
relative-time-second: Private ordinary functions
relative-time-stepper: Private ordinary functions
relative-time-week: Private ordinary functions
relative-time-year: Private ordinary functions

S
second-begin: Private ordinary functions
second-end: Private ordinary functions
second-of: Private ordinary functions
second-range: Private ordinary functions
set-microsecond-part: Private ordinary functions
set-millisecond-part: Private ordinary functions
set-nanosecond-part: Private ordinary functions
Setf Expander, (setf time-range-begin): Public ordinary functions
sleep-until: Public ordinary functions
strftime: Public ordinary functions
strptime: Public ordinary functions
strptime-decoded: Public ordinary functions
subtract-days: Private ordinary functions
subtract-duration: Public ordinary functions
subtract-hours: Private ordinary functions
subtract-microseconds: Private ordinary functions
subtract-milliseconds: Private ordinary functions
subtract-minutes: Private ordinary functions
subtract-months: Private ordinary functions
subtract-nanoseconds: Private ordinary functions
subtract-seconds: Private ordinary functions
subtract-time: Public ordinary functions
subtract-years: Private ordinary functions
sunday-week-begin: Private ordinary functions
sunday-week-end: Private ordinary functions
sunday-week-range: Private ordinary functions

T
this-day: Private ordinary functions
this-day-range: Private ordinary functions
this-friday: Private ordinary functions
this-hour: Private ordinary functions
this-hour-range: Private ordinary functions
this-microsecond: Private ordinary functions
this-millisecond: Private ordinary functions
this-minute: Private ordinary functions
this-minute-range: Private ordinary functions
this-monday: Private ordinary functions
this-monday-week: Private ordinary functions
this-monday-week-range: Private ordinary functions
this-month: Private ordinary functions
this-month-range: Private ordinary functions
this-saturday: Private ordinary functions
this-second: Private ordinary functions
this-second-range: Private ordinary functions
this-sunday: Private ordinary functions
this-sunday-week: Private ordinary functions
this-sunday-week-range: Private ordinary functions
this-thursday: Private ordinary functions
this-tuesday: Private ordinary functions
this-wednesday: Private ordinary functions
this-year: Private ordinary functions
this-year-range: Private ordinary functions
time-difference: Public ordinary functions
time-generator: Private ordinary functions
time-parser-tests: Private ordinary functions
time-period: Public ordinary functions
time-period-begin: Private ordinary functions
time-period-end: Private ordinary functions
time-period-generator: Public ordinary functions
time-period-p: Private ordinary functions
time-period-range: Private ordinary functions
time-period-skip: Private ordinary functions
time-period-step: Private ordinary functions
time-range: Public ordinary functions
time-range-anchor: Private ordinary functions
time-range-begin: Public ordinary functions
time-range-begin-inclusive-p: Private ordinary functions
time-range-duration: Public ordinary functions
time-range-end: Public ordinary functions
time-range-end-inclusive-p: Private ordinary functions
time-range-next: Private ordinary functions
time-range-p: Private ordinary functions
time-range-previous: Private ordinary functions
time-stepper: Private ordinary functions
time-within-begin-end-p: Private ordinary functions
time-within-range-p: Public ordinary functions

U
unread-token: Private ordinary functions

W
with-skippers: Private macros
with-timestamp-range: Public macros

Y
year-begin: Private ordinary functions
year-end: Private ordinary functions
year-of: Private ordinary functions
year-range: Private ordinary functions


A.3 Variables

Jump to:   *  
A   B   D   E   F   H   M   N   R   S   W   Y  
Index Entry  Section

*
*days-in-months*: Private special variables
*input-time-format*: Public special variables
*output-time-format*: Public special variables
*parser-readtable*: Private special variables
*token-stack*: Private special variables

A
anchor: Public structures

B
begin: Public structures
begin-inclusive-p: Public structures

D
day: Private structures
day-of-week: Private structures
days: Public structures
duration: Public structures

E
end: Public structures
end-inclusive-p: Public structures

F
fixed-begin: Public structures
fixed-end: Public structures

H
hour: Private structures
hours: Public structures

M
microsecond: Private structures
microseconds: Public structures
millisecond: Private structures
milliseconds: Public structures
minute: Private structures
minutes: Public structures
month: Private structures
months: Public structures

N
nanosecond: Private structures
nanoseconds: Public structures

R
range: Public structures

S
second: Private structures
seconds: Public structures
skip: Public structures
Slot, anchor: Public structures
Slot, begin: Public structures
Slot, begin-inclusive-p: Public structures
Slot, day: Private structures
Slot, day-of-week: Private structures
Slot, days: Public structures
Slot, duration: Public structures
Slot, end: Public structures
Slot, end-inclusive-p: Public structures
Slot, fixed-begin: Public structures
Slot, fixed-end: Public structures
Slot, hour: Private structures
Slot, hours: Public structures
Slot, microsecond: Private structures
Slot, microseconds: Public structures
Slot, millisecond: Private structures
Slot, milliseconds: Public structures
Slot, minute: Private structures
Slot, minutes: Public structures
Slot, month: Private structures
Slot, months: Public structures
Slot, nanosecond: Private structures
Slot, nanoseconds: Public structures
Slot, range: Public structures
Slot, second: Private structures
Slot, seconds: Public structures
Slot, skip: Public structures
Slot, step: Public structures
Slot, week: Private structures
Slot, year: Private structures
Slot, years: Public structures
Special Variable, *days-in-months*: Private special variables
Special Variable, *input-time-format*: Public special variables
Special Variable, *output-time-format*: Public special variables
Special Variable, *parser-readtable*: Private special variables
Special Variable, *token-stack*: Private special variables
step: Public structures

W
week: Private structures

Y
year: Private structures
years: Public structures