The lunar-phases Reference Manual

This is the lunar-phases Reference Manual, version 0.0.1, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Jul 13 21:07:33 2025 GMT+0.

Table of Contents


1 Introduction


2 Systems

The main system appears first, followed by any subsystem dependency.


2.1 lunar-phases

Approximated calculation of moon phases.

Maintainer

cage

Author

cage

Bug Tracker

https://codeberg.org/cage/lunar-phases/issues

License

LLGPL

Version

0.0.1

Dependencies
  • alexandria (system).
  • local-time (system).
Source

lunar-phases.asd.

Child Components

3 Files

Files are sorted by type and then listed depth-first from the systems components trees.


3.1 Lisp


3.1.1 lunar-phases/lunar-phases.asd

Source

lunar-phases.asd.

Parent Component

lunar-phases (system).

ASDF Systems

lunar-phases.


3.1.2 lunar-phases/package.lisp

Source

lunar-phases.asd.

Parent Component

lunar-phases (system).

Packages

lunar-phases.


3.1.3 lunar-phases/main.lisp

Dependency

package.lisp (file).

Source

lunar-phases.asd.

Parent Component

lunar-phases (system).

Public Interface
Internals

4 Packages

Packages are listed by definition order.


4.1 lunar-phases

Source

package.lisp.

Use List

common-lisp.

Public Interface
Internals

5 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


5.1 Public Interface


5.1.1 Ordinary functions

Function: lunar-phase (julian-days)
Package

lunar-phases.

Source

main.lisp.


5.1.2 Generic functions

Generic Function: gregorian->julian-date (object)
Package

lunar-phases.

Source

main.lisp.

Methods
Method: gregorian->julian-date ((object timestamp))

5.2 Internals


5.2.1 Constants

Constant: +gregorian-calendar-start+
Package

lunar-phases.

Source

main.lisp.

Constant: +the-epoch+
Package

lunar-phases.

Source

main.lisp.


5.2.2 Ordinary functions

Function: day-hour-float-day (day hour)
Package

lunar-phases.

Source

main.lisp.

Function: days-from-epoch (julian-days)
Package

lunar-phases.

Source

main.lisp.

Function: degrees->radians (degrees)
Package

lunar-phases.

Source

main.lisp.

Function: eccentricity (time)
Package

lunar-phases.

Source

main.lisp.

Function: ecliptic-longitude (time)
Package

lunar-phases.

Source

main.lisp.

Function: ecliptic-longitude-perigee (time)
Package

lunar-phases.

Source

main.lisp.

Function: float-day->day-hour (day)
Package

lunar-phases.

Source

main.lisp.

Function: julian-time-from-1900 (time)
Package

lunar-phases.

Source

main.lisp.

Function: lunar-longitude (julian-days)
Package

lunar-phases.

Source

main.lisp.

Function: solar-longitude (julian-days)
Package

lunar-phases.

Source

main.lisp.


Appendix A Indexes


A.1 Concepts


A.2 Functions

Jump to:   D   E   F   G   J   L   M   S  
Index Entry  Section

D
day-hour-float-day: Private ordinary functions
days-from-epoch: Private ordinary functions
degrees->radians: Private ordinary functions

E
eccentricity: Private ordinary functions
ecliptic-longitude: Private ordinary functions
ecliptic-longitude-perigee: Private ordinary functions

F
float-day->day-hour: Private ordinary functions
Function, day-hour-float-day: Private ordinary functions
Function, days-from-epoch: Private ordinary functions
Function, degrees->radians: Private ordinary functions
Function, eccentricity: Private ordinary functions
Function, ecliptic-longitude: Private ordinary functions
Function, ecliptic-longitude-perigee: Private ordinary functions
Function, float-day->day-hour: Private ordinary functions
Function, julian-time-from-1900: Private ordinary functions
Function, lunar-longitude: Private ordinary functions
Function, lunar-phase: Public ordinary functions
Function, solar-longitude: Private ordinary functions

G
Generic Function, gregorian->julian-date: Public generic functions
gregorian->julian-date: Public generic functions
gregorian->julian-date: Public generic functions

J
julian-time-from-1900: Private ordinary functions

L
lunar-longitude: Private ordinary functions
lunar-phase: Public ordinary functions

M
Method, gregorian->julian-date: Public generic functions

S
solar-longitude: Private ordinary functions