calendar

package
v0.0.0-...-62d810d Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Date

type Date struct {
	// contains filtered or unexported fields
}

Date struct.

func (*Date) Day

func (d *Date) Day() int

Day returns Date day.

func (*Date) Month

func (d *Date) Month() int

Month returns Date month.

func (*Date) SetDay

func (d *Date) SetDay(day int) error

SetDay method for Date.

func (*Date) SetMonth

func (d *Date) SetMonth(month int) error

SetMonth method for Date.

func (*Date) SetYear

func (d *Date) SetYear(year int) error

SetYear method for Date.

func (*Date) Year

func (d *Date) Year() int

Year returns Date year.

type Event

type Event struct {
	Date
	// contains filtered or unexported fields
}

Event struct

func (*Event) SetTitle

func (e *Event) SetTitle(title string) error

SetTitle method for Event.

func (*Event) Title

func (e *Event) Title() string

Title returns Event title.

Jump to

Keyboard shortcuts

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