Documentation ¶
Index ¶
- type Calendar
- func (calendar *Calendar) Month() (month Month)
- func (calendar *Calendar) Next()
- func (calendar *Calendar) NextCalendar() (nextCalendar *Calendar)
- func (calendar *Calendar) NextMonth() (month Month)
- func (calendar *Calendar) NextWeek() (week Week)
- func (calendar *Calendar) Previous()
- func (calendar *Calendar) PreviousCalendar() (previousCalendar *Calendar)
- func (calendar *Calendar) PreviousMonth() (month Month)
- func (calendar *Calendar) PreviousWeek() (week Week)
- func (calendar *Calendar) Week() (week Week)
- func (calendar *Calendar) Year() (year Year)
- type Month
- type Week
- type Year
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Calendar ¶
Calendar have now.Now data.
func (*Calendar) NextCalendar ¶
NextCalendar returns next Calendar.
func (*Calendar) NextWeek ¶
NextWeek returns next Week regarding current date. It doesn't have side effect.
func (*Calendar) Previous ¶
func (calendar *Calendar) Previous()
Previous sets new *now.Now for previous month.
func (*Calendar) PreviousCalendar ¶
PreviousCalendar returns previous Calendar.
func (*Calendar) PreviousMonth ¶
PreviousMonth returns previous Month regarding current date.
func (*Calendar) PreviousWeek ¶
PreviousWeek returns previous Week regarding current date. It doesn't have side effect.
Click to show internal directories.
Click to hide internal directories.