ch

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2025 License: LGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Bettag = &cal.Holiday{
		Name:    "Eidgenössischer Dank-, Buss- und Bettag",
		Weekday: time.Sunday,
		Month:   time.September,
		Offset:  3,
		Type:    cal.ObservanceReligious,
		Func:    cal.CalcWeekdayFrom,
	}

	BettagMontag = &cal.Holiday{
		Name:    "Eidgenössischer Dank-, Buss- und Bettag Montag",
		Weekday: time.Sunday,
		Month:   time.September,
		Offset:  3,
		Type:    cal.ObservancePublic,
		Func: func(h *cal.Holiday, year int) time.Time {
			t := cal.CalcWeekdayFrom(h, year)
			return t.AddDate(0, 0, 1)
		},
	}
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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