Documentation
¶
Index ¶
- Constants
- Variables
- func DeleteDay(arg1 Day)
- func DeleteGZ(arg1 GZ)
- func DeleteJDList(arg1 JDList)
- func DeleteJQList(arg1 JQList)
- func DeleteJieQiInfo(arg1 JieQiInfo)
- func DeleteTime(arg1 Time)
- func GetLunarMonthNum(a ...interface{}) byte
- func GetLunarMonthNum__SWIG_0(arg1 int, arg2 byte, arg3 bool) (_swig_ret byte)
- func GetLunarMonthNum__SWIG_1(arg1 int, arg2 byte) (_swig_ret byte)
- func GetRunMonth(arg1 int) (_swig_ret byte)
- func Swig_free(arg1 uintptr)
- func Swig_malloc(arg1 int) (_swig_ret uintptr)
- func ToJD(arg1 Time) (_swig_ret float64)
- type Day
- func DayFromLunar(a ...interface{}) Day
- func DayFromLunar__SWIG_0(arg1 int, arg2 byte, arg3 int, arg4 bool) (_swig_ret Day)
- func DayFromLunar__SWIG_1(arg1 int, arg2 byte, arg3 int) (_swig_ret Day)
- func DayFromSolar(arg1 int, arg2 byte, arg3 int) (_swig_ret Day)
- func FromLunar(a ...interface{}) Day
- func FromLunar__SWIG_0(arg1 int, arg2 byte, arg3 int, arg4 bool) (_swig_ret Day)
- func FromLunar__SWIG_1(arg1 int, arg2 byte, arg3 int) (_swig_ret Day)
- func FromSolar(arg1 int, arg2 byte, arg3 int) (_swig_ret Day)
- type GZ
- type JDList
- type JQList
- type JieQiInfo
- type SwigcptrDay
- func (arg1 SwigcptrDay) After(arg2 int) (_swig_ret Day)
- func (arg1 SwigcptrDay) Before(arg2 int) (_swig_ret Day)
- func (arg1 SwigcptrDay) GetConstellation() (_swig_ret byte)
- func (arg1 SwigcptrDay) GetDayGZ() (_swig_ret GZ)
- func (p SwigcptrDay) GetHourGZ(a ...interface{}) GZ
- func (arg1 SwigcptrDay) GetHourGZ__SWIG_0(arg2 byte, arg3 bool) (_swig_ret GZ)
- func (arg1 SwigcptrDay) GetHourGZ__SWIG_1(arg2 byte) (_swig_ret GZ)
- func (arg1 SwigcptrDay) GetJieQi() (_swig_ret byte)
- func (arg1 SwigcptrDay) GetJieQiJD() (_swig_ret float64)
- func (arg1 SwigcptrDay) GetLunarDay() (_swig_ret int)
- func (arg1 SwigcptrDay) GetLunarMonth() (_swig_ret byte)
- func (p SwigcptrDay) GetLunarYear(a ...interface{}) int
- func (arg1 SwigcptrDay) GetLunarYear__SWIG_0(arg2 bool) (_swig_ret int)
- func (arg1 SwigcptrDay) GetLunarYear__SWIG_1() (_swig_ret int)
- func (arg1 SwigcptrDay) GetMonthGZ() (_swig_ret GZ)
- func (arg1 SwigcptrDay) GetSolarDay() (_swig_ret int)
- func (arg1 SwigcptrDay) GetSolarMonth() (_swig_ret byte)
- func (arg1 SwigcptrDay) GetSolarYear() (_swig_ret int)
- func (arg1 SwigcptrDay) GetWeek() (_swig_ret byte)
- func (arg1 SwigcptrDay) GetWeekIndex() (_swig_ret byte)
- func (p SwigcptrDay) GetYearGZ(a ...interface{}) GZ
- func (arg1 SwigcptrDay) GetYearGZ__SWIG_0(arg2 bool) (_swig_ret GZ)
- func (arg1 SwigcptrDay) GetYearGZ__SWIG_1() (_swig_ret GZ)
- func (arg1 SwigcptrDay) HasJieQi() (_swig_ret bool)
- func (arg1 SwigcptrDay) IsLunarLeap() (_swig_ret bool)
- func (p SwigcptrDay) SwigIsDay()
- func (p SwigcptrDay) Swigcptr() uintptr
- type SwigcptrGZ
- type SwigcptrJDList
- func (arg1 SwigcptrJDList) Add(arg2 float64)
- func (arg1 SwigcptrJDList) Capacity() (_swig_ret int64)
- func (arg1 SwigcptrJDList) Clear()
- func (arg1 SwigcptrJDList) Get(arg2 int) (_swig_ret float64)
- func (arg1 SwigcptrJDList) IsEmpty() (_swig_ret bool)
- func (arg1 SwigcptrJDList) Reserve(arg2 int64)
- func (arg1 SwigcptrJDList) Set(arg2 int, arg3 float64)
- func (arg1 SwigcptrJDList) Size() (_swig_ret int64)
- func (p SwigcptrJDList) SwigIsJDList()
- func (p SwigcptrJDList) Swigcptr() uintptr
- type SwigcptrJQList
- func (arg1 SwigcptrJQList) Add(arg2 JieQiInfo)
- func (arg1 SwigcptrJQList) Capacity() (_swig_ret int64)
- func (arg1 SwigcptrJQList) Clear()
- func (arg1 SwigcptrJQList) Get(arg2 int) (_swig_ret JieQiInfo)
- func (arg1 SwigcptrJQList) IsEmpty() (_swig_ret bool)
- func (arg1 SwigcptrJQList) Reserve(arg2 int64)
- func (arg1 SwigcptrJQList) Set(arg2 int, arg3 JieQiInfo)
- func (arg1 SwigcptrJQList) Size() (_swig_ret int64)
- func (p SwigcptrJQList) SwigIsJQList()
- func (p SwigcptrJQList) Swigcptr() uintptr
- type SwigcptrJieQiInfo
- func (arg1 SwigcptrJieQiInfo) GetJd() (_swig_ret float64)
- func (arg1 SwigcptrJieQiInfo) GetJqIndex() (_swig_ret byte)
- func (arg1 SwigcptrJieQiInfo) SetJd(arg2 float64)
- func (arg1 SwigcptrJieQiInfo) SetJqIndex(arg2 byte)
- func (p SwigcptrJieQiInfo) SwigIsJieQiInfo()
- func (p SwigcptrJieQiInfo) Swigcptr() uintptr
- type SwigcptrTime
- func (arg1 SwigcptrTime) GetD() (_swig_ret int)
- func (arg1 SwigcptrTime) GetDay() (_swig_ret int)
- func (arg1 SwigcptrTime) GetH() (_swig_ret float64)
- func (arg1 SwigcptrTime) GetHour() (_swig_ret float64)
- func (arg1 SwigcptrTime) GetM() (_swig_ret int)
- func (arg1 SwigcptrTime) GetMin() (_swig_ret float64)
- func (arg1 SwigcptrTime) GetMonth() (_swig_ret int)
- func (arg1 SwigcptrTime) GetS() (_swig_ret float64)
- func (arg1 SwigcptrTime) GetSec() (_swig_ret float64)
- func (arg1 SwigcptrTime) GetY() (_swig_ret int)
- func (arg1 SwigcptrTime) GetYear() (_swig_ret int)
- func (arg1 SwigcptrTime) SetD(arg2 int)
- func (arg1 SwigcptrTime) SetDay(arg2 int)
- func (arg1 SwigcptrTime) SetH(arg2 float64)
- func (arg1 SwigcptrTime) SetHour(arg2 float64)
- func (arg1 SwigcptrTime) SetM(arg2 int)
- func (arg1 SwigcptrTime) SetMonth(arg2 int)
- func (arg1 SwigcptrTime) SetMour(arg2 float64)
- func (arg1 SwigcptrTime) SetS(arg2 float64)
- func (arg1 SwigcptrTime) SetSec(arg2 float64)
- func (arg1 SwigcptrTime) SetY(arg2 int)
- func (arg1 SwigcptrTime) SetYear(arg2 int)
- func (p SwigcptrTime) SwigIsTime()
- func (p SwigcptrTime) Swigcptr() uintptr
- type Time
Constants ¶
View Source
const J2000 int = 2451545
Variables ¶
View Source
var Swig_escape_always_false bool
View Source
var Swig_escape_val interface{}
Functions ¶
func DeleteJDList ¶
func DeleteJDList(arg1 JDList)
func DeleteJQList ¶
func DeleteJQList(arg1 JQList)
func DeleteJieQiInfo ¶
func DeleteJieQiInfo(arg1 JieQiInfo)
func DeleteTime ¶
func DeleteTime(arg1 Time)
func GetLunarMonthNum ¶
func GetLunarMonthNum(a ...interface{}) byte
func GetRunMonth ¶
func Swig_malloc ¶
Types ¶
type Day ¶
type Day interface { Swigcptr() uintptr SwigIsDay() After(arg2 int) (_swig_ret Day) Before(arg2 int) (_swig_ret Day) GetLunarDay() (_swig_ret int) GetLunarMonth() (_swig_ret byte) GetLunarYear(a ...interface{}) int GetYearGZ(a ...interface{}) GZ GetMonthGZ() (_swig_ret GZ) GetDayGZ() (_swig_ret GZ) GetHourGZ(a ...interface{}) GZ IsLunarLeap() (_swig_ret bool) GetSolarYear() (_swig_ret int) GetSolarMonth() (_swig_ret byte) GetSolarDay() (_swig_ret int) GetWeek() (_swig_ret byte) GetWeekIndex() (_swig_ret byte) HasJieQi() (_swig_ret bool) GetJieQi() (_swig_ret byte) GetJieQiJD() (_swig_ret float64) GetConstellation() (_swig_ret byte) }
func DayFromLunar ¶
func DayFromLunar(a ...interface{}) Day
func DayFromLunar__SWIG_0 ¶
func DayFromLunar__SWIG_1 ¶
func FromLunar__SWIG_0 ¶
type GZ ¶
type GZ interface { Swigcptr() uintptr SwigIsGZ() SetTg(arg2 byte) GetTg() (_swig_ret byte) SetDz(arg2 byte) GetDz() (_swig_ret byte) }
func GetShiGz__SWIG_1 ¶
func NewGZ__SWIG_0 ¶
func NewGZ__SWIG_0() (_swig_ret GZ)
func NewGZ__SWIG_1 ¶
type JDList ¶
type JDList interface { Swigcptr() uintptr SwigIsJDList() Size() (_swig_ret int64) Capacity() (_swig_ret int64) Reserve(arg2 int64) IsEmpty() (_swig_ret bool) Clear() Add(arg2 float64) Get(arg2 int) (_swig_ret float64) Set(arg2 int, arg3 float64) }
func NewJDList__SWIG_0 ¶
func NewJDList__SWIG_0() (_swig_ret JDList)
func NewJDList__SWIG_1 ¶
func NewJDList__SWIG_2 ¶
type JQList ¶
type JQList interface { Swigcptr() uintptr SwigIsJQList() Size() (_swig_ret int64) Capacity() (_swig_ret int64) Reserve(arg2 int64) IsEmpty() (_swig_ret bool) Clear() Add(arg2 JieQiInfo) Get(arg2 int) (_swig_ret JieQiInfo) Set(arg2 int, arg3 JieQiInfo) }
func GetJieQiByYear ¶
func NewJQList__SWIG_0 ¶
func NewJQList__SWIG_0() (_swig_ret JQList)
func NewJQList__SWIG_1 ¶
func NewJQList__SWIG_2 ¶
type JieQiInfo ¶
type JieQiInfo interface { Swigcptr() uintptr SwigIsJieQiInfo() SetJd(arg2 float64) GetJd() (_swig_ret float64) SetJqIndex(arg2 byte) GetJqIndex() (_swig_ret byte) }
func NewJieQiInfo ¶
func NewJieQiInfo() (_swig_ret JieQiInfo)
type SwigcptrDay ¶
type SwigcptrDay uintptr
func (SwigcptrDay) After ¶
func (arg1 SwigcptrDay) After(arg2 int) (_swig_ret Day)
func (SwigcptrDay) Before ¶
func (arg1 SwigcptrDay) Before(arg2 int) (_swig_ret Day)
func (SwigcptrDay) GetConstellation ¶
func (arg1 SwigcptrDay) GetConstellation() (_swig_ret byte)
func (SwigcptrDay) GetDayGZ ¶
func (arg1 SwigcptrDay) GetDayGZ() (_swig_ret GZ)
func (SwigcptrDay) GetHourGZ ¶
func (p SwigcptrDay) GetHourGZ(a ...interface{}) GZ
func (SwigcptrDay) GetHourGZ__SWIG_0 ¶
func (arg1 SwigcptrDay) GetHourGZ__SWIG_0(arg2 byte, arg3 bool) (_swig_ret GZ)
func (SwigcptrDay) GetHourGZ__SWIG_1 ¶
func (arg1 SwigcptrDay) GetHourGZ__SWIG_1(arg2 byte) (_swig_ret GZ)
func (SwigcptrDay) GetJieQi ¶
func (arg1 SwigcptrDay) GetJieQi() (_swig_ret byte)
func (SwigcptrDay) GetJieQiJD ¶
func (arg1 SwigcptrDay) GetJieQiJD() (_swig_ret float64)
func (SwigcptrDay) GetLunarDay ¶
func (arg1 SwigcptrDay) GetLunarDay() (_swig_ret int)
func (SwigcptrDay) GetLunarMonth ¶
func (arg1 SwigcptrDay) GetLunarMonth() (_swig_ret byte)
func (SwigcptrDay) GetLunarYear ¶
func (p SwigcptrDay) GetLunarYear(a ...interface{}) int
func (SwigcptrDay) GetLunarYear__SWIG_0 ¶
func (arg1 SwigcptrDay) GetLunarYear__SWIG_0(arg2 bool) (_swig_ret int)
func (SwigcptrDay) GetLunarYear__SWIG_1 ¶
func (arg1 SwigcptrDay) GetLunarYear__SWIG_1() (_swig_ret int)
func (SwigcptrDay) GetMonthGZ ¶
func (arg1 SwigcptrDay) GetMonthGZ() (_swig_ret GZ)
func (SwigcptrDay) GetSolarDay ¶
func (arg1 SwigcptrDay) GetSolarDay() (_swig_ret int)
func (SwigcptrDay) GetSolarMonth ¶
func (arg1 SwigcptrDay) GetSolarMonth() (_swig_ret byte)
func (SwigcptrDay) GetSolarYear ¶
func (arg1 SwigcptrDay) GetSolarYear() (_swig_ret int)
func (SwigcptrDay) GetWeek ¶
func (arg1 SwigcptrDay) GetWeek() (_swig_ret byte)
func (SwigcptrDay) GetWeekIndex ¶
func (arg1 SwigcptrDay) GetWeekIndex() (_swig_ret byte)
func (SwigcptrDay) GetYearGZ ¶
func (p SwigcptrDay) GetYearGZ(a ...interface{}) GZ
func (SwigcptrDay) GetYearGZ__SWIG_0 ¶
func (arg1 SwigcptrDay) GetYearGZ__SWIG_0(arg2 bool) (_swig_ret GZ)
func (SwigcptrDay) GetYearGZ__SWIG_1 ¶
func (arg1 SwigcptrDay) GetYearGZ__SWIG_1() (_swig_ret GZ)
func (SwigcptrDay) HasJieQi ¶
func (arg1 SwigcptrDay) HasJieQi() (_swig_ret bool)
func (SwigcptrDay) IsLunarLeap ¶
func (arg1 SwigcptrDay) IsLunarLeap() (_swig_ret bool)
func (SwigcptrDay) SwigIsDay ¶
func (p SwigcptrDay) SwigIsDay()
func (SwigcptrDay) Swigcptr ¶
func (p SwigcptrDay) Swigcptr() uintptr
type SwigcptrGZ ¶
type SwigcptrGZ uintptr
func (SwigcptrGZ) GetDz ¶
func (arg1 SwigcptrGZ) GetDz() (_swig_ret byte)
func (SwigcptrGZ) GetTg ¶
func (arg1 SwigcptrGZ) GetTg() (_swig_ret byte)
func (SwigcptrGZ) SetDz ¶
func (arg1 SwigcptrGZ) SetDz(arg2 byte)
func (SwigcptrGZ) SetTg ¶
func (arg1 SwigcptrGZ) SetTg(arg2 byte)
func (SwigcptrGZ) SwigIsGZ ¶
func (p SwigcptrGZ) SwigIsGZ()
func (SwigcptrGZ) Swigcptr ¶
func (p SwigcptrGZ) Swigcptr() uintptr
type SwigcptrJDList ¶
type SwigcptrJDList uintptr
func (SwigcptrJDList) Add ¶
func (arg1 SwigcptrJDList) Add(arg2 float64)
func (SwigcptrJDList) Capacity ¶
func (arg1 SwigcptrJDList) Capacity() (_swig_ret int64)
func (SwigcptrJDList) Clear ¶
func (arg1 SwigcptrJDList) Clear()
func (SwigcptrJDList) Get ¶
func (arg1 SwigcptrJDList) Get(arg2 int) (_swig_ret float64)
func (SwigcptrJDList) IsEmpty ¶
func (arg1 SwigcptrJDList) IsEmpty() (_swig_ret bool)
func (SwigcptrJDList) Reserve ¶
func (arg1 SwigcptrJDList) Reserve(arg2 int64)
func (SwigcptrJDList) Set ¶
func (arg1 SwigcptrJDList) Set(arg2 int, arg3 float64)
func (SwigcptrJDList) Size ¶
func (arg1 SwigcptrJDList) Size() (_swig_ret int64)
func (SwigcptrJDList) SwigIsJDList ¶
func (p SwigcptrJDList) SwigIsJDList()
func (SwigcptrJDList) Swigcptr ¶
func (p SwigcptrJDList) Swigcptr() uintptr
type SwigcptrJQList ¶
type SwigcptrJQList uintptr
func (SwigcptrJQList) Add ¶
func (arg1 SwigcptrJQList) Add(arg2 JieQiInfo)
func (SwigcptrJQList) Capacity ¶
func (arg1 SwigcptrJQList) Capacity() (_swig_ret int64)
func (SwigcptrJQList) Clear ¶
func (arg1 SwigcptrJQList) Clear()
func (SwigcptrJQList) Get ¶
func (arg1 SwigcptrJQList) Get(arg2 int) (_swig_ret JieQiInfo)
func (SwigcptrJQList) IsEmpty ¶
func (arg1 SwigcptrJQList) IsEmpty() (_swig_ret bool)
func (SwigcptrJQList) Reserve ¶
func (arg1 SwigcptrJQList) Reserve(arg2 int64)
func (SwigcptrJQList) Set ¶
func (arg1 SwigcptrJQList) Set(arg2 int, arg3 JieQiInfo)
func (SwigcptrJQList) Size ¶
func (arg1 SwigcptrJQList) Size() (_swig_ret int64)
func (SwigcptrJQList) SwigIsJQList ¶
func (p SwigcptrJQList) SwigIsJQList()
func (SwigcptrJQList) Swigcptr ¶
func (p SwigcptrJQList) Swigcptr() uintptr
type SwigcptrJieQiInfo ¶
type SwigcptrJieQiInfo uintptr
func (SwigcptrJieQiInfo) GetJd ¶
func (arg1 SwigcptrJieQiInfo) GetJd() (_swig_ret float64)
func (SwigcptrJieQiInfo) GetJqIndex ¶
func (arg1 SwigcptrJieQiInfo) GetJqIndex() (_swig_ret byte)
func (SwigcptrJieQiInfo) SetJd ¶
func (arg1 SwigcptrJieQiInfo) SetJd(arg2 float64)
func (SwigcptrJieQiInfo) SetJqIndex ¶
func (arg1 SwigcptrJieQiInfo) SetJqIndex(arg2 byte)
func (SwigcptrJieQiInfo) SwigIsJieQiInfo ¶
func (p SwigcptrJieQiInfo) SwigIsJieQiInfo()
func (SwigcptrJieQiInfo) Swigcptr ¶
func (p SwigcptrJieQiInfo) Swigcptr() uintptr
type SwigcptrTime ¶
type SwigcptrTime uintptr
func (SwigcptrTime) GetD ¶
func (arg1 SwigcptrTime) GetD() (_swig_ret int)
func (SwigcptrTime) GetDay ¶
func (arg1 SwigcptrTime) GetDay() (_swig_ret int)
func (SwigcptrTime) GetH ¶
func (arg1 SwigcptrTime) GetH() (_swig_ret float64)
func (SwigcptrTime) GetHour ¶
func (arg1 SwigcptrTime) GetHour() (_swig_ret float64)
func (SwigcptrTime) GetM ¶
func (arg1 SwigcptrTime) GetM() (_swig_ret int)
func (SwigcptrTime) GetMin ¶
func (arg1 SwigcptrTime) GetMin() (_swig_ret float64)
func (SwigcptrTime) GetMonth ¶
func (arg1 SwigcptrTime) GetMonth() (_swig_ret int)
func (SwigcptrTime) GetS ¶
func (arg1 SwigcptrTime) GetS() (_swig_ret float64)
func (SwigcptrTime) GetSec ¶
func (arg1 SwigcptrTime) GetSec() (_swig_ret float64)
func (SwigcptrTime) GetY ¶
func (arg1 SwigcptrTime) GetY() (_swig_ret int)
func (SwigcptrTime) GetYear ¶
func (arg1 SwigcptrTime) GetYear() (_swig_ret int)
func (SwigcptrTime) SetD ¶
func (arg1 SwigcptrTime) SetD(arg2 int)
func (SwigcptrTime) SetDay ¶
func (arg1 SwigcptrTime) SetDay(arg2 int)
func (SwigcptrTime) SetH ¶
func (arg1 SwigcptrTime) SetH(arg2 float64)
func (SwigcptrTime) SetHour ¶
func (arg1 SwigcptrTime) SetHour(arg2 float64)
func (SwigcptrTime) SetM ¶
func (arg1 SwigcptrTime) SetM(arg2 int)
func (SwigcptrTime) SetMonth ¶
func (arg1 SwigcptrTime) SetMonth(arg2 int)
func (SwigcptrTime) SetMour ¶
func (arg1 SwigcptrTime) SetMour(arg2 float64)
func (SwigcptrTime) SetS ¶
func (arg1 SwigcptrTime) SetS(arg2 float64)
func (SwigcptrTime) SetSec ¶
func (arg1 SwigcptrTime) SetSec(arg2 float64)
func (SwigcptrTime) SetY ¶
func (arg1 SwigcptrTime) SetY(arg2 int)
func (SwigcptrTime) SetYear ¶
func (arg1 SwigcptrTime) SetYear(arg2 int)
func (SwigcptrTime) SwigIsTime ¶
func (p SwigcptrTime) SwigIsTime()
func (SwigcptrTime) Swigcptr ¶
func (p SwigcptrTime) Swigcptr() uintptr
type Time ¶
type Time interface { Swigcptr() uintptr SwigIsTime() SetY(arg2 int) GetY() (_swig_ret int) SetM(arg2 int) GetM() (_swig_ret int) SetD(arg2 int) GetD() (_swig_ret int) SetH(arg2 float64) GetH() (_swig_ret float64) SetS(arg2 float64) GetS() (_swig_ret float64) GetYear() (_swig_ret int) SetYear(arg2 int) SetMonth(arg2 int) GetMonth() (_swig_ret int) GetDay() (_swig_ret int) SetDay(arg2 int) GetHour() (_swig_ret float64) SetHour(arg2 float64) GetMin() (_swig_ret float64) SetMour(arg2 float64) GetSec() (_swig_ret float64) SetSec(arg2 float64) }
func NewTime__SWIG_0 ¶
func NewTime__SWIG_0() (_swig_ret Time)
Click to show internal directories.
Click to hide internal directories.