This is the chronicity Reference Manual, version 0.4.1, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 04:35:58 2024 GMT+0.
chronicity/chronicity.asd
chronicity/src/packages.lisp
chronicity/src/utils.lisp
chronicity/src/datetime.lisp
chronicity/src/numerize.lisp
chronicity/src/chronicity.lisp
chronicity/src/repeater.lisp
chronicity/src/repeaters/repeater-year.lisp
chronicity/src/repeaters/repeater-month.lisp
chronicity/src/repeaters/repeater-month-name.lisp
chronicity/src/repeaters/repeater-fortnight.lisp
chronicity/src/repeaters/repeater-week.lisp
chronicity/src/repeaters/repeater-weekend.lisp
chronicity/src/repeaters/repeater-day.lisp
chronicity/src/repeaters/repeater-day-name.lisp
chronicity/src/repeaters/repeater-day-portion.lisp
chronicity/src/repeaters/repeater-hour.lisp
chronicity/src/repeaters/repeater-minute.lisp
chronicity/src/repeaters/repeater-second.lisp
chronicity/src/repeaters/repeater-time.lisp
chronicity/src/grabber.lisp
chronicity/src/pointer.lisp
chronicity/src/scalar.lisp
chronicity/src/ordinal.lisp
chronicity/src/separator.lisp
chronicity/src/handlers.lisp
chronicity/src/handler-defs.lisp
The main system appears first, followed by any subsystem dependency.
chronicity
A natural language date and time parser for Common Lisp
Chaitanya Gupta
Chaitanya Gupta
BSD
0.4.1
cl-ppcre
(system).
cl-interpol
(system).
local-time
(system).
src
(module).
Modules are listed depth-first from the system components tree.
chronicity/src
chronicity
(system).
packages.lisp
(file).
utils.lisp
(file).
datetime.lisp
(file).
numerize.lisp
(file).
chronicity.lisp
(file).
repeater.lisp
(file).
repeaters
(module).
grabber.lisp
(file).
pointer.lisp
(file).
scalar.lisp
(file).
ordinal.lisp
(file).
separator.lisp
(file).
handlers.lisp
(file).
handler-defs.lisp
(file).
chronicity/src/repeaters
repeater.lisp
(file).
src
(module).
repeater-year.lisp
(file).
repeater-month.lisp
(file).
repeater-month-name.lisp
(file).
repeater-fortnight.lisp
(file).
repeater-week.lisp
(file).
repeater-weekend.lisp
(file).
repeater-day.lisp
(file).
repeater-day-name.lisp
(file).
repeater-day-portion.lisp
(file).
repeater-hour.lisp
(file).
repeater-minute.lisp
(file).
repeater-second.lisp
(file).
repeater-time.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
chronicity/chronicity.asd
chronicity/src/packages.lisp
chronicity/src/utils.lisp
chronicity/src/datetime.lisp
chronicity/src/numerize.lisp
chronicity/src/chronicity.lisp
chronicity/src/repeater.lisp
chronicity/src/repeaters/repeater-year.lisp
chronicity/src/repeaters/repeater-month.lisp
chronicity/src/repeaters/repeater-month-name.lisp
chronicity/src/repeaters/repeater-fortnight.lisp
chronicity/src/repeaters/repeater-week.lisp
chronicity/src/repeaters/repeater-weekend.lisp
chronicity/src/repeaters/repeater-day.lisp
chronicity/src/repeaters/repeater-day-name.lisp
chronicity/src/repeaters/repeater-day-portion.lisp
chronicity/src/repeaters/repeater-hour.lisp
chronicity/src/repeaters/repeater-minute.lisp
chronicity/src/repeaters/repeater-second.lisp
chronicity/src/repeaters/repeater-time.lisp
chronicity/src/grabber.lisp
chronicity/src/pointer.lisp
chronicity/src/scalar.lisp
chronicity/src/ordinal.lisp
chronicity/src/separator.lisp
chronicity/src/handlers.lisp
chronicity/src/handler-defs.lisp
chronicity/src/utils.lisp
packages.lisp
(file).
src
(module).
chronicity/src/datetime.lisp
utils.lisp
(file).
src
(module).
datetime
(type).
day-of
(function).
dow-name
(function).
dow-of
(function).
hour-of
(function).
make-date
(function).
make-datetime
(function).
make-time
(function).
minute-of
(function).
month-name
(function).
month-of
(function).
print-object
(method).
sec-of
(function).
span
(class).
span-default
(reader method).
span-end
(reader method).
span-end-included-p
(reader method).
span-start
(reader method).
year-of
(function).
*days-of-week*
(special variable).
*months*
(special variable).
copy-date
(function).
copy-datetime
(function).
copy-time
(function).
datetime-adjust
(function).
datetime-decf
(macro).
datetime-decr
(function).
datetime-incf
(macro).
datetime-incr
(function).
datetime-to-universal
(function).
datetime/=
(function).
datetime<
(function).
datetime<=
(function).
datetime=
(function).
datetime>
(function).
datetime>=
(function).
day-sec-of
(function).
dow-index
(function).
end-of-day
(function).
end-of-hour
(function).
end-of-minute
(function).
end-of-month
(function).
end-of-week
(function).
end-of-year
(function).
make-span
(function).
merge-datetime
(function).
month-index
(function).
now
(function).
span+
(function).
span-
(function).
span-includes-p
(function).
span-middle
(function).
span-width
(function).
start-of-day
(function).
start-of-hour
(function).
start-of-minute
(function).
start-of-month
(function).
start-of-week
(function).
start-of-year
(function).
today
(function).
universal-to-datetime
(function).
chronicity/src/numerize.lisp
datetime.lisp
(file).
src
(module).
numerize
(function).
*big-detector-regex*
(special variable).
*big-prefixes*
(special variable).
*direct-nums*
(special variable).
*ten-prefixes*
(special variable).
big-prefix-p
(function).
detect-numeral-sequence
(function).
numeric-token-p
(function).
numerize-aux
(function).
replace-numeral-sequence
(function).
token-numeric-value
(function).
tokens-to-number
(function).
chronicity/src/chronicity.lisp
numerize.lisp
(file).
src
(module).
*ambiguous-time-range*
(special variable).
*context*
(special variable).
*endian-preference*
(special variable).
*guess*
(special variable).
*now*
(special variable).
parse
(function).
print-object
(method).
print-object
(method).
token-tags
(reader method).
(setf token-tags)
(writer method).
token-word
(reader method).
+day-seconds+
(constant).
+fortnight-seconds+
(constant).
+hour-seconds+
(constant).
+minute-seconds+
(constant).
+month-seconds+
(constant).
+sec-seconds+
(constant).
+week-seconds+
(constant).
+weekend-seconds+
(constant).
+year-months+
(constant).
+year-seconds+
(constant).
create-tag
(function).
create-token
(function).
find-tag
(function).
guess-span
(function).
pre-normalize
(function).
pre-process-tokens
(function).
scan-tokens
(generic function).
tag
(method).
tag
(class).
tag-now
(reader method).
(setf tag-now)
(writer method).
tag-type
(reader method).
token
(class).
token-has-tag-p
(function).
token-tag-type
(function).
tokenize
(function).
tokenize-and-tag
(function).
untag
(method).
untag
(method).
untag
(method).
chronicity/src/repeater.lisp
chronicity.lisp
(file).
src
(module).
check-pointer
(function).
r-next
(generic function).
r-offset
(generic function).
r-this
(generic function).
r-width
(generic function).
repeater
(class).
scan-for-day-names
(function).
scan-for-day-portions
(function).
scan-for-month-names
(function).
scan-for-times
(function).
scan-for-units
(function).
scan-tokens
(method).
chronicity/src/repeaters/repeater-year.lisp
repeaters
(module).
r-next
(method).
r-offset
(method).
r-this
(method).
r-width
(method).
repeater-year
(class).
chronicity/src/repeaters/repeater-month.lisp
repeaters
(module).
r-next
(method).
r-offset
(method).
r-this
(method).
r-width
(method).
repeater-month
(class).
chronicity/src/repeaters/repeater-month-name.lisp
repeaters
(module).
r-index
(method).
r-next
(method).
r-this
(method).
r-width
(method).
repeater-month-name
(class).
chronicity/src/repeaters/repeater-fortnight.lisp
repeaters
(module).
r-next
(method).
r-offset
(method).
r-this
(method).
r-width
(method).
repeater-fortnight
(class).
chronicity/src/repeaters/repeater-week.lisp
repeaters
(module).
r-next
(method).
r-offset
(method).
r-this
(method).
r-width
(method).
repeater-week
(class).
chronicity/src/repeaters/repeater-weekend.lisp
repeaters
(module).
r-next
(method).
r-offset
(method).
r-this
(method).
r-width
(method).
repeater-weekend
(class).
chronicity/src/repeaters/repeater-day.lisp
repeaters
(module).
r-next
(method).
r-offset
(method).
r-this
(method).
r-width
(method).
repeater-day
(class).
chronicity/src/repeaters/repeater-day-name.lisp
repeaters
(module).
r-next
(method).
r-this
(method).
r-width
(method).
repeater-day-name
(class).
chronicity/src/repeaters/repeater-day-portion.lisp
repeaters
(module).
initialize-instance
(method).
*afternoon*
(special variable).
*evening*
(special variable).
*morning*
(special variable).
*night*
(special variable).
r-next
(method).
r-offset
(method).
r-this
(method).
r-width
(method).
repeater-day-portion
(class).
chronicity/src/repeaters/repeater-hour.lisp
repeaters
(module).
r-next
(method).
r-offset
(method).
r-this
(method).
r-width
(method).
repeater-hour
(class).
chronicity/src/repeaters/repeater-minute.lisp
repeaters
(module).
r-next
(method).
r-offset
(method).
r-this
(method).
r-width
(method).
repeater-minute
(class).
chronicity/src/repeaters/repeater-second.lisp
repeaters
(module).
r-next
(method).
r-offset
(method).
r-this
(method).
r-width
(method).
repeater-sec
(class).
chronicity/src/repeaters/repeater-time.lisp
repeaters
(module).
initialize-instance
(method).
print-object
(method).
make-tick
(function).
r-next
(method).
r-this
(method).
r-width
(method).
repeater-time
(class).
tick
(class).
tick-ambiguousp
(reader method).
(setf tick-ambiguousp)
(writer method).
tick-time
(reader method).
(setf tick-time)
(writer method).
chronicity/src/grabber.lisp
repeaters
(module).
src
(module).
grabber
(class).
scan-tokens
(method).
chronicity/src/pointer.lisp
grabber.lisp
(file).
src
(module).
pointer
(class).
scan-for-pointers
(function).
scan-tokens
(method).
chronicity/src/scalar.lisp
pointer.lisp
(file).
src
(module).
*day-portions*
(special variable).
check-post-token
(function).
scalar
(class).
scalar-day
(class).
scalar-month
(class).
scalar-year
(class).
scan-for-scalar-days
(function).
scan-for-scalar-months
(function).
scan-for-scalar-years
(function).
scan-for-scalars
(function).
scan-tokens
(method).
chronicity/src/ordinal.lisp
scalar.lisp
(file).
src
(module).
ordinal
(class).
ordinal-day
(class).
scan-for-ordinal-days
(function).
scan-for-ordinals
(function).
scan-tokens
(method).
chronicity/src/separator.lisp
ordinal.lisp
(file).
src
(module).
scan-for-at
(function).
scan-for-commas
(function).
scan-for-in
(function).
scan-for-on
(function).
scan-for-slash-or-dash
(function).
scan-tokens
(method).
separator
(class).
separator-at
(class).
separator-comma
(class).
separator-in
(class).
separator-on
(class).
separator-slash-or-dash
(class).
chronicity/src/handlers.lisp
separator.lisp
(file).
src
(module).
*handler*
(special variable).
*handler-patterns*
(special variable).
*handlers*
(special variable).
add-handler
(function).
clear-handlers
(function).
dealias-and-disambiguate-time
(function).
define-handler
(macro).
find-class-handlers
(function).
find-within
(function).
get-anchor
(function).
get-repeaters
(function).
handler-class
(function).
handler-fn
(function).
handler-pattern
(function).
make-handler
(function).
match-tokens
(function).
merge-time-tokens-day
(function).
remove-separators
(function).
tokens-to-span
(function).
chronicity/src/handler-defs.lisp
handlers.lisp
(file).
src
(module).
guess-year
(function).
handle-1
(function).
handle-10
(function).
handle-11
(function).
handle-12
(function).
handle-13
(function).
handle-14
(function).
handle-2
(function).
handle-3
(function).
handle-4
(function).
handle-5
(function).
handle-6
(function).
handle-7
(function).
handle-8
(function).
handle-9
(function).
handle-ambiguous-dmy
(function).
handle-orr
(function).
handle-p-s-r
(function).
handle-r
(function).
handle-rdn-sd-rmn-sy-rt
(function).
handle-rmn-od
(function).
handle-rmn-od-sy
(function).
handle-rmn-sd
(function).
handle-rmn-sd-rt-sy
(function).
handle-rmn-sd-sy
(function).
handle-s-r-p
(function).
handle-s-r-p-a
(function).
handle-srp
(function).
r-rough-offset
(function).
Packages are listed by definition order.
chronicity
common-lisp
.
*ambiguous-time-range*
(special variable).
*context*
(special variable).
*endian-preference*
(special variable).
*guess*
(special variable).
*now*
(special variable).
datetime
(type).
day-of
(function).
dow-name
(function).
dow-of
(function).
hour-of
(function).
make-date
(function).
make-datetime
(function).
make-time
(function).
minute-of
(function).
month-name
(function).
month-of
(function).
parse
(function).
sec-of
(function).
span
(class).
span-default
(generic reader).
span-end
(generic reader).
span-end-included-p
(generic reader).
span-start
(generic reader).
token-tags
(generic reader).
(setf token-tags)
(generic writer).
token-word
(generic reader).
year-of
(function).
*afternoon*
(special variable).
*day-portions*
(special variable).
*days-of-week*
(special variable).
*evening*
(special variable).
*handler*
(special variable).
*handler-patterns*
(special variable).
*handlers*
(special variable).
*months*
(special variable).
*morning*
(special variable).
*night*
(special variable).
+day-seconds+
(constant).
+fortnight-seconds+
(constant).
+hour-seconds+
(constant).
+minute-seconds+
(constant).
+month-seconds+
(constant).
+sec-seconds+
(constant).
+week-seconds+
(constant).
+weekend-seconds+
(constant).
+year-months+
(constant).
+year-seconds+
(constant).
add-handler
(function).
aif
(macro).
awhen
(macro).
check-pointer
(function).
check-post-token
(function).
clear-handlers
(function).
copy-date
(function).
copy-datetime
(function).
copy-time
(function).
create-tag
(function).
create-token
(function).
datetime-adjust
(function).
datetime-decf
(macro).
datetime-decr
(function).
datetime-incf
(macro).
datetime-incr
(function).
datetime-to-universal
(function).
datetime/=
(function).
datetime<
(function).
datetime<=
(function).
datetime=
(function).
datetime>
(function).
datetime>=
(function).
day-sec-of
(function).
dealias-and-disambiguate-time
(function).
define-handler
(macro).
dow-index
(function).
end-of-day
(function).
end-of-hour
(function).
end-of-minute
(function).
end-of-month
(function).
end-of-week
(function).
end-of-year
(function).
find-class-handlers
(function).
find-tag
(function).
find-within
(function).
get-anchor
(function).
get-repeaters
(function).
grabber
(class).
guess-span
(function).
guess-year
(function).
handle-1
(function).
handle-10
(function).
handle-11
(function).
handle-12
(function).
handle-13
(function).
handle-14
(function).
handle-2
(function).
handle-3
(function).
handle-4
(function).
handle-5
(function).
handle-6
(function).
handle-7
(function).
handle-8
(function).
handle-9
(function).
handle-ambiguous-dmy
(function).
handle-orr
(function).
handle-p-s-r
(function).
handle-r
(function).
handle-rdn-sd-rmn-sy-rt
(function).
handle-rmn-od
(function).
handle-rmn-od-sy
(function).
handle-rmn-sd
(function).
handle-rmn-sd-rt-sy
(function).
handle-rmn-sd-sy
(function).
handle-s-r-p
(function).
handle-s-r-p-a
(function).
handle-srp
(function).
handler-class
(function).
handler-fn
(function).
handler-pattern
(function).
make-handler
(function).
make-span
(function).
make-tick
(function).
match-tokens
(function).
merge-datetime
(function).
merge-time-tokens-day
(function).
month-index
(function).
now
(function).
ordinal
(class).
ordinal-day
(class).
pointer
(class).
pre-normalize
(function).
pre-process-tokens
(function).
r-index
(generic function).
r-next
(generic function).
r-offset
(generic function).
r-rough-offset
(function).
r-this
(generic function).
r-width
(generic function).
remove-separators
(function).
repeater
(class).
repeater-day
(class).
repeater-day-name
(class).
repeater-day-portion
(class).
repeater-fortnight
(class).
repeater-hour
(class).
repeater-minute
(class).
repeater-month
(class).
repeater-month-name
(class).
repeater-sec
(class).
repeater-time
(class).
repeater-week
(class).
repeater-weekend
(class).
repeater-year
(class).
rr-all-f
(macro).
scalar
(class).
scalar-day
(class).
scalar-month
(class).
scalar-year
(class).
scan-for-at
(function).
scan-for-commas
(function).
scan-for-day-names
(function).
scan-for-day-portions
(function).
scan-for-in
(function).
scan-for-month-names
(function).
scan-for-on
(function).
scan-for-ordinal-days
(function).
scan-for-ordinals
(function).
scan-for-pointers
(function).
scan-for-scalar-days
(function).
scan-for-scalar-months
(function).
scan-for-scalar-years
(function).
scan-for-scalars
(function).
scan-for-slash-or-dash
(function).
scan-for-times
(function).
scan-for-units
(function).
scan-tokens
(generic function).
separator
(class).
separator-at
(class).
separator-comma
(class).
separator-in
(class).
separator-on
(class).
separator-slash-or-dash
(class).
span+
(function).
span-
(function).
span-includes-p
(function).
span-middle
(function).
span-width
(function).
start-of-day
(function).
start-of-hour
(function).
start-of-minute
(function).
start-of-month
(function).
start-of-week
(function).
start-of-year
(function).
tag
(generic function).
tag
(class).
tag-now
(generic reader).
(setf tag-now)
(generic writer).
tag-type
(generic reader).
tick
(class).
tick-ambiguousp
(generic reader).
(setf tick-ambiguousp)
(generic writer).
tick-time
(generic reader).
(setf tick-time)
(generic writer).
today
(function).
token
(class).
token-has-tag-p
(function).
token-tag-type
(function).
tokenize
(function).
tokenize-and-tag
(function).
tokens-to-span
(function).
universal-to-datetime
(function).
untag
(generic function).
chronicity-numerizer
common-lisp
.
numerize
(function).
*big-detector-regex*
(special variable).
*big-prefixes*
(special variable).
*direct-nums*
(special variable).
*ten-prefixes*
(special variable).
big-prefix-p
(function).
detect-numeral-sequence
(function).
numeric-token-p
(function).
numerize-aux
(function).
replace-numeral-sequence
(function).
token-numeric-value
(function).
tokens-to-number
(function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
The default value for :AMBIGUOUS-TIME-RANGE.
The default value for :CONTEXT.
The default value for :ENDIAN-PREFERENCE.
The default value for :GUESS.
The default value for :NOW. If NIL, :NOW is assumed to be this instant.
Parse the string in TEXT and return either a DATETIME or a SPAN
object. Also returns a list of tokens as the second value.
CONTEXT (default *CONTEXT*) can be either :PAST or :FUTURE.
NOW (default *NOW* or this instant) should be a DATETIME instance,
relative to which the date/time will be calculated.
GUESS (default *GUESS*) if NIL, PARSE returns a SPAN object, otherwise
returns the start, end or middle of the span if the it is :START, :END
or :MIDDLE respectively. If it is T, it will return the default value
of a span if it has one (SPAN-DEFAULT), otherwise it will return the
start of span.
For AMBIGUOUS-TIME-RANGE (default *AMBIGUOUS-TIME-RANGE*), if an
integer is given, ambiguous times (like 5:00) will be assumed to be
within the range of that time in the AM to that time in the PM. For
example, if you set it to 7, then the parser will look for the time
between 7am and 7pm. In the case of 5:00, it would assume that means
5:00pm. If NIL is given, no assumption will be made, and the first
matching instance of that time will be used.
Use ENDIAN-PREFERENCE (default *ENDIAN-PREFERENCE*) to specify whether to ambiguous dates as dd/mm (:LITTLE) or mm/dd (:MIDDLE).
repeater-day-portion
) &key type) ¶repeater-time
) &key type &allow-other-keys) ¶Current handler – The one which matched the token.
Returns the second of the day.
repeater-month-name
)) ¶repeater-time
) pointer) ¶repeater-sec
) pointer) ¶repeater-minute
) pointer) ¶repeater-hour
) pointer) ¶repeater-day-portion
) pointer) ¶repeater-day-name
) pointer) ¶repeater-day
) pointer) ¶repeater-weekend
) pointer) ¶repeater-week
) pointer) ¶repeater-fortnight
) pointer) ¶repeater-month-name
) pointer) ¶repeater-month
) pointer) ¶repeater-year
) pointer) ¶repeater-sec
) span amount pointer) ¶repeater-minute
) span amount pointer) ¶repeater-hour
) span amount pointer) ¶repeater-day-portion
) span amount pointer) ¶repeater-day
) span amount pointer) ¶repeater-weekend
) span amount pointer) ¶repeater-week
) span amount pointer) ¶repeater-fortnight
) span amount pointer) ¶repeater-month
) span amount pointer) ¶repeater-year
) span amount pointer) ¶repeater-time
) pointer) ¶repeater-sec
) pointer) ¶repeater-minute
) pointer) ¶repeater-hour
) pointer) ¶repeater-day-portion
) pointer) ¶repeater-day-name
) pointer) ¶repeater-day
) pointer) ¶repeater-weekend
) pointer) ¶repeater-week
) pointer) ¶repeater-fortnight
) pointer) ¶repeater-month-name
) pointer) ¶repeater-month
) pointer) ¶repeater-year
) pointer) ¶repeater-time
)) ¶repeater-sec
)) ¶repeater-minute
)) ¶repeater-hour
)) ¶repeater-day-portion
)) ¶repeater-day-name
)) ¶repeater-day
)) ¶repeater-weekend
)) ¶repeater-week
)) ¶repeater-fortnight
)) ¶repeater-month-name
)) ¶repeater-month
)) ¶repeater-year
)) ¶Scan the list of TOKENS and tag the appropriately.
(eql chronicity::separator)
) tokens) ¶(eql chronicity::ordinal)
) tokens) ¶(eql chronicity::scalar)
) tokens) ¶(eql chronicity::pointer)
) tokens) ¶(eql chronicity::grabber)
) tokens) ¶(eql chronicity::repeater)
) tokens) ¶:now
Jump to: | (
A B C D E F G H I M N P R S T U Y |
---|
Jump to: | (
A B C D E F G H I M N P R S T U Y |
---|
Jump to: | *
+
A C D E N R S T W |
---|
Jump to: | *
+
A C D E N R S T W |
---|
Jump to: | C D F G H M N O P R S T U |
---|
Jump to: | C D F G H M N O P R S T U |
---|