printers

package
v0.0.0-...-ddd2cd8 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DaysIn

func DaysIn(then time.Time) int

func NextMonth

func NextMonth(then time.Time) time.Time

func StartDay

func StartDay(then time.Time) time.Weekday

Types

type PrettyPrint

type PrettyPrint struct {
	ShowID bool
}

func (*PrettyPrint) Calendar

func (pp *PrettyPrint) Calendar(on time.Time, entries ...*entry.Entry)

func (*PrettyPrint) Collection

func (pp *PrettyPrint) Collection(entries ...*entry.Entry)

func (*PrettyPrint) NewLine

func (pp *PrettyPrint) NewLine()

func (*PrettyPrint) PrintMonth

func (pp *PrettyPrint) PrintMonth(then time.Time, entries ...*entry.Entry)

func (*PrettyPrint) PrintMonthCount

func (pp *PrettyPrint) PrintMonthCount(then time.Time, count []int)

func (*PrettyPrint) PrintMonthDemo

func (pp *PrettyPrint) PrintMonthDemo(then time.Time)

func (*PrettyPrint) PrintMonthLong

func (pp *PrettyPrint) PrintMonthLong(then time.Time, entries ...*entry.Entry)

func (*PrettyPrint) Title

func (pp *PrettyPrint) Title(title string)

func (*PrettyPrint) TitleWithCount

func (pp *PrettyPrint) TitleWithCount(title string, count int)

func (*PrettyPrint) Tracking

func (pp *PrettyPrint) Tracking(entries ...*entry.Entry)

func (*PrettyPrint) TrackingYear

func (pp *PrettyPrint) TrackingYear(entries ...*entry.Entry)

Jump to

Keyboard shortcuts

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