calendar

package
v0.0.0-...-9fcb2b0 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2017 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrintMonth

func PrintMonth(c CalendarMonth, highlightDay bool)

Types

type CalendarMonth

type CalendarMonth struct {
	Month        time.Month
	Year         int
	WeekDayStart time.Weekday
	LastDay      int
	MarkedDays   []int
}

func CalendarMonthFrom

func CalendarMonthFrom(date time.Time) CalendarMonth

func (*CalendarMonth) IsMarkedDay

func (c *CalendarMonth) IsMarkedDay(day int) bool

Jump to

Keyboard shortcuts

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