datelist

package
v0.0.0-...-4a8b94e Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	January   = "January"
	February  = "February"
	March     = "March"
	April     = "April"
	May       = "May"
	June      = "June"
	July      = "July"
	August    = "August"
	September = "September"
	October   = "October"
	November  = "November"
	December  = "December"

	// Alias names (May doesn't need one ?)
	JanuaryAlias   = "Jan"
	FebruaryAlias  = "Feb"
	MarchAlias     = "Mar"
	AprilAlias     = "Apr"
	JuneAlias      = "Jun"
	JulyAlias      = "Jul"
	AugustAlias    = "Aug"
	SeptemberAlias = "Sep"
	OctoberAlias   = "Oct"
	NovemberAlias  = "Nov"
	DecemberAlias  = "Dec"
)

Month names

View Source
const (
	JanuaryID = iota
	FebruaryID
	MarchID
	AprilID
	MayID
	JuneID
	JulyID
	AugustID
	SeptemberID
	OctoberID
	NovemberID
	DecemberID
)

Month IDs

Variables

This section is empty.

Functions

func Delete

func Delete(name string) int

Delete deletes a Datelist with the given name.

Types

type DateList

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

func Get

func Get(name string) *DateList

Get retrieves a Datelist by name

func New

func New(name string, s *schema.Schema, fileOn uint16, dataOnDrive bool, memOnly bool) (*DateList, int)

New creates a new Datelist

type DateListEntry

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

type Day

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

type Month

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

type Year

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

Jump to

Keyboard shortcuts

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