values

package
v0.0.0-...-1bf2b71 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2019 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
}

DateTime is a representation of a date and time for iCalendar

func NewDateTime

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

NewDateTime creates a new caldav datetime representation, must be in UTC

func (*DateTime) MarshalXMLAttr

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

MarshalXMLAttr 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