Document new period functions.
This commit is contained in:
parent
4c7bff7c5c
commit
63ab7fc18a
1 changed files with 15 additions and 1 deletions
16
MODULES.md
16
MODULES.md
|
@ -167,7 +167,21 @@ Returns a new valid month that comes ```n``` months after ```m```. If
|
|||
### Period
|
||||
|
||||
This module implements simple calendar period handling with month
|
||||
granularity.
|
||||
granularity. The period contains fields ```since``` which is the first
|
||||
month of the period and ```before``` which is the first month just
|
||||
after the period.
|
||||
|
||||
(period-since p)
|
||||
|
||||
* ```p``` - valid period
|
||||
|
||||
Returns the ```since``` part of given period.
|
||||
|
||||
(period-before p)
|
||||
|
||||
Returns the ```since``` part of given period.
|
||||
|
||||
Returns the ```before``` part of given period.
|
||||
|
||||
(period-markers->periods l)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue