aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/documentation/lux/world/time/month.lux
blob: b1f03829c66be6c5a67a0753d967452fc4ed13ee (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 /._
            ""
            [($.definition /.equivalence)
             ($.definition /.number)
             ($.definition /.invalid_month)
             ($.definition /.by_number)
             ($.definition /.hash)
             ($.definition /.order)
             ($.definition /.enum)
             ($.definition /.not_a_month_of_the_year)
             ($.definition /.codec)

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

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

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

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