calendar

package
v0.0.0-...-17244d7 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Day

type Day struct {
	Year, Month, Day int
}

func (*Day) Festival

func (d *Day) Festival() string

type LunarDayInfo

type LunarDayInfo struct {
	GanZhiYear     string
	GanZhiMonth    string
	GanZhiDay      string
	LunarMonthName string
	LunarDayName   string
	LunarLeapMonth int32
	Zodiac         string
	Term           string
	SolarFestival  string
	LunarFestival  string
	Worktime       int32
}

func SolarToLunar

func SolarToLunar(year, month, day int) (LunarDayInfo, bool)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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