Documentation ¶
Index ¶
- Constants
- Variables
- func A4(y int, m int, d int) int
- func AfterYear(y int, m int, d int, x int) int
- func AllMonthGanZhi(m int, fdi int) []int
- func B5(y int, m int, d int) int
- func C6(y int, m int, d int) int
- func Defaults(y int, m int, d int, h int, s string)
- func FindJiGan(吉干 int) (_jg []int)
- func Hours() int
- func Info()
- func IsShengxiao() string
- func JiRi(y int, m int, d int) (f func() map[int]string)
- func JiaZi(y int, m int, d int) int
- func MonthGZ(d int, indexAllJiazi int) (fdi int)
- func Months() int
- func ShowMD()
- func TheMonthJiGan(m int) []int
- func Weeks(y int, m int, d int)
- func XingSu(y int, m int, d int) int
Constants ¶
View Source
const (
N = 605
)
六宫常数
Variables ¶
View Source
var AllJiaZi = [60]string{"癸亥",
"甲子", "乙丑", "丙寅", "丁卯", "戊辰", "己已", "庚午", "辛未", "壬申", "癸酉",
"甲戌", "乙亥", "丙子", "丁丑", "戊寅", "己卯", "庚辰", "辛已", "壬午", "癸未",
"甲申", "乙酉", "丙戌", "丁亥", "戊子", "已丑", "庚寅", "辛卯", "壬辰", "癸巳",
"甲午", "乙未", "丙申", "丁酉", "戊戌", "已亥", "庚子", "辛丑", "壬寅", "癸卯",
"甲辰", "乙已", "丙午", "丁未", "戊申", "己酉", "庚戌", "辛亥", "壬子", "癸丑",
"甲寅", "乙卯", "丙辰", "丁已", "戊午", "已未", "庚申", "辛酉", "壬戌"}
六十甲子 0代表序号60即最后癸亥
View Source
var M = [12]int{31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}
月份 这里不管润不润2月都是28
View Source
var ShengXiao = "猴"
View Source
var T = time.Now().Year()
当前年份
View Source
var XingSu28 = [28]string{"轸",
"角", "亢", "氐", "房", "心", "尾", "箕",
"斗", "牛", "女", "虚", "危", "室", "壁",
"奎", "娄", "胃", "昴", "毕", "觜", "参",
"井", "鬼", "柳", "星", "张", "翼"}
二十八宿 0轸 1角 2亢...
View Source
var Year, _, Day = time.Now().Date()
时间 生肖变量
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.