aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/documentation/lux/time/month.lux
blob: 9e9d4dc288e3d668d2a41de610c6aa8b2bff39d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
(.require
 [library
  [lux (.except and)
   ["$" documentation]
   [data
    ["[0]" text (.only \n)
     ["%" \\format (.only format)]]]]]
 [\\library
  ["[0]" /]])

(.def .public documentation
  (.List $.Module)
  ($.module /._
            ""
            [($.default /.equivalence)
             ($.default /.number)
             ($.default /.invalid_month)
             ($.default /.by_number)
             ($.default /.hash)
             ($.default /.order)
             ($.default /.enum)
             ($.default /.not_a_month_of_the_year)
             ($.default /.codec)

             ($.documentation /.Month
               "A month of the year.")

             ($.documentation /.days
               "The amount of days of a month."
               [(days month)])

             ($.documentation /.leap_year_days
               "The amount of days of a month (in a leap year)."
               [(leap_year_days month)])

             ($.documentation /.year
               "All the months, ordered by when they come in a year.")]
            []))