values

package
v0.0.0-...-67ef29f Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ComponentName

type ComponentName string
const (
	CalendarComponentName ComponentName = "VCALENDAR"
	EventComponentName                  = "VEVENT"
)

type DateTime

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

a representation of a date and time for iCalendar

func NewDateTime

func NewDateTime(name string, t time.Time) (*DateTime, error)

creates a new caldav datetime representation, must be in UTC

func (*DateTime) MarshalXMLAttr

func (d *DateTime) MarshalXMLAttr(name xml.Name) (xml.Attr, error)

encodes the datetime value for the iCalendar specification

type HumanBoolean

type HumanBoolean string
const (
	YesHumanBoolean HumanBoolean = "yes"
	NoHumanBoolean               = "no"
)

type TextCollation

type TextCollation string
const (
	OctetTextCollation    TextCollation = "i;octet"
	ASCIICaseMapCollation               = "i;ascii-casemap"
)

Jump to

Keyboard shortcuts

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