{"size": 1993, "ext": "scrbl", "max_stars_repo_path": "scribblings/liturgical-calendar.scrbl", "max_stars_repo_name": "LiberalArtist/liturgical-calendar", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "scribblings/liturgical-calendar.scrbl", "max_issues_repo_name": "LiberalArtist/liturgical-calendar", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "scribblings/liturgical-calendar.scrbl", "max_forks_repo_name": "LiberalArtist/liturgical-calendar", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 31.6349206349, "max_line_length": 79, "alphanum_fraction": 0.6226793778}
#lang scribble/manual

@title{Liturgical Calendar}
@author[(author+email @elem{Philip M@superscript{c}Grath}
                      "philip@philipmcgrath.com")]
@defmodule[liturgical-calendar]

@(require "bibliography.rkt"
          (for-label liturgical-calendar
                     adjutor/racket/base/minus
                     racket/contract
                     gregor/period
                     gregor))

The @racketmodname[liturgical-calendar] library provides functions
to compute the dates of Easter and other Christian holidays.
It uses the representation of @seclink[#:doc gregor-doc "date"]{dates}
from @other-doc[gregor-doc].
Currently, @racketmodname[liturgical-calendar] supports the calendar
used primarily by churches originating in the Western half of the
Roman empire: see the @seclink["Introduction"]{introduction} for details.

@(local-table-of-contents)

@section{Introduction}

Coming soon ...

@other-doc[gregor-doc]

@citet[bcp]

@citet[meeus]

@citet[bien]

@citet[wallis]

@section{Reference}

@defproc[(year->advent-start [year exact-positive-integer?])
         (and/c date? sunday?)]
@defproc[(year->christmas [year exact-positive-integer?])
         date?]
@defproc[(year->epiphany [year exact-positive-integer?])
         date?]
@defproc[(year->candlemas [year exact-positive-integer?])
         date?]
@defproc[(year->ash-wednesday [year exact-positive-integer?])
         (and/c date? wednesday?)]
@defproc[(year->easter [year exact-positive-integer?])
         (and/c date? sunday?)]
@defproc[(year->ascension-thursday [year exact-positive-integer?])
         (and/c date? thursday?)]
@defproc[(year->pentecost [year exact-positive-integer?])
         (and/c date? sunday?)]
@defproc[(year->trinity-sunday [year exact-positive-integer?])
         (and/c date? sunday?)]

@;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
@;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
@(generate-bibliography)
