psalms

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 1, 2026 License: GPL-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Hebcal's psalms package calculates the Daily Psalms (Tehillim) reading in the traditional 30-day cycle, indexed by Hebrew day of the month so that the entire book of Psalms is completed each Hebrew month.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPsalmsEvent

func NewPsalmsEvent(hd hdate.HDate, reading Reading) event.CalEvent

NewPsalmsEvent returns a calendar event for the Daily Psalms reading on the given date.

Types

type Reading

type Reading struct {
	Begin string
	End   string
}

Reading is one day's slice of the 30-day Psalms cycle. Begin and End are normally chapter numbers (e.g. "10", "17"), but Psalm 119 — the longest chapter, studied over two days — uses verse-prefixed strings ("119:1"/"119:96" and "119:97"/"119:176").

func New

func New(hd hdate.HDate) Reading

New returns the Daily Psalms portion for the given date. In months with only 29 days, the 30th portion is combined with the 29th (returning 140-150). Every Hebrew date has a reading; there is no cycle start.

func (Reading) String

func (r Reading) String() string

String returns the reading as "Begin-End", e.g. "140-150".

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL