hebcal

package
v1.5.3 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2021 License: MIT Imports: 10 Imported by: 2

Documentation

Index

Constants

View Source
const (
	H_ROSH_HASHANA     = "rosh-hashana"
	H_TZOM_GEDALIAH    = "tzom-gedaliah"
	H_YOM_KIPPUR       = "yom-kippur"
	H_SUKKOT           = "sukkot"
	H_SHMINI_ATZERET   = "shmini-atzeret"
	H_YOM_HAALIYAH     = "yom-haaliyah"
	H_SIGD             = "sigd"
	H_CHANUKAH         = "chanukah"
	H_ASARA_BTEVET     = "asara-btevet"
	H_TU_BISHVAT       = "tu-bishvat"
	H_PURIM_KATAN      = "purim-katan"
	H_TAANIT_ESTHER    = "taanit-esther"
	H_PURIM            = "purim"
	H_SHUSHAN_PURIM    = "shushan-purim"
	H_TAANIT_BECHOROT  = "taanit-bechorot"
	H_PESACH           = "pesach"
	H_YOM_HASHOAH      = "yom-hashoah"
	H_YOM_HAZIKARON    = "yom-hazikaron"
	H_YOM_HAATZMAUT    = "yom-haatzmaut"
	H_PESACH_SHENI     = "pesach-sheni"
	H_LAG_BAOMER       = "lag-baomer"
	H_YOM_YERUSHALAYIM = "yom-yerushalayim"
	H_SHAVUOT          = "shavuot"
	H_TZOM_TAMMUZ      = "tzom-tammuz"
	H_TISHA_BAV        = "tisha-bav"
	H_TU_BAV           = "tu-bav"
	H_LEIL_SELICHOT    = "leil-selichot"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Hebcal

type Hebcal struct {
	// contains filtered or unexported fields
}

func (*Hebcal) GetPeriod

func (h *Hebcal) GetPeriod(holiday string, year int) (start string, end string)

func (*Hebcal) Load

func (h *Hebcal) Load() error

func (*Hebcal) Print

func (h *Hebcal) Print()

type HebcalItem

type HebcalItem struct {
	Link          string `json:"link"`
	Memo          string `json:"memo"`
	Category      string `json:"category"`
	Subcategory   string `json:"subcat"`
	Title         string `json:"title"`
	OriginalTitle string `json:"title_orig"`
	Hebrew        string `json:"hebrew"`
	Date          string `json:"date"`
}

type HebcalItems

type HebcalItems struct {
	Items []HebcalItem `json:"items"`
}

Jump to

Keyboard shortcuts

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