Documentation ¶
Index ¶
- func DaysIn(then time.Time) int
- func NextMonth(then time.Time) time.Time
- func StartDay(then time.Time) time.Weekday
- type PrettyPrint
- func (pp *PrettyPrint) Calendar(on time.Time, entries ...*entry.Entry)
- func (pp *PrettyPrint) Collection(entries ...*entry.Entry)
- func (pp *PrettyPrint) NewLine()
- func (pp *PrettyPrint) PrintMonth(then time.Time, entries ...*entry.Entry)
- func (pp *PrettyPrint) PrintMonthCount(then time.Time, count []int)
- func (pp *PrettyPrint) PrintMonthDemo(then time.Time)
- func (pp *PrettyPrint) PrintMonthLong(then time.Time, entries ...*entry.Entry)
- func (pp *PrettyPrint) Title(title string)
- func (pp *PrettyPrint) TitleWithCount(title string, count int)
- func (pp *PrettyPrint) Tracking(entries ...*entry.Entry)
- func (pp *PrettyPrint) TrackingYear(entries ...*entry.Entry)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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)
Click to show internal directories.
Click to hide internal directories.