aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-06-23 23:46:57 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2022-06-23 23:46:57 +0200
commit9c94e6ec731ce433aadf12eae22d50e8fec7a91b (patch)
treedc3db263ba5c2afc725c5d163460597f233c1c8d /doc
parentReformat test/datetime.scm (diff)
downloadcalp-9c94e6ec731ce433aadf12eae22d50e8fec7a91b.tar.gz
calp-9c94e6ec731ce433aadf12eae22d50e8fec7a91b.tar.xz
Remove (add|remove)-day, and month[+-].
Procedures where overly specific, and doing it manually was almost no more work.
Diffstat (limited to 'doc')
-rw-r--r--doc/ref/guile/datetime.texi10
1 files changed, 0 insertions, 10 deletions
diff --git a/doc/ref/guile/datetime.texi b/doc/ref/guile/datetime.texi
index d49c4ada..037ac8d5 100644
--- a/doc/ref/guile/datetime.texi
+++ b/doc/ref/guile/datetime.texi
@@ -282,11 +282,6 @@ Returns a stream of each week from @var{start-day}
Returns the smaller (or larger) of @var{a} or @var{b}.
@end defun
-@defun month+ date [change=1]
-@defunx month- date [change=1]
-Equivalent to @code{(date+ date (date month: change))}.
-@end defun
-
@defun week-day date
Returns an integer representing the week day of @var{date}.
@ref{sunday}
@@ -355,11 +350,6 @@ month-date and end of month.
Returns a list of all instances of @var{week-day} in @var{year-date}.
@end defun
-@defun add-day date
-@defunx remove-day date
-@code{@var{date} ± (date day: 1)}
-@end defun
-
@defun in-date-range? start-date end-date → date → boolean
Returns a predicate procedure, which checks if a given date is between
@var{start-date} and @var{end-date}.