Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func YearToDate ¶
Types ¶
type DateHelper ¶
type DateHelper struct { Years [8]int Days [31]int Months []string YearIndex int MonthIndex int DayIndex int }
Index are 1-based
func (*DateHelper) Init ¶
func (dh *DateHelper) Init()
func (*DateHelper) SetDate ¶
func (dh *DateHelper) SetDate(date time.Time)
func (*DateHelper) SetYear ¶
func (dh *DateHelper) SetYear(year int)
func (*DateHelper) Year ¶
func (dh *DateHelper) Year() int
Click to show internal directories.
Click to hide internal directories.