yymmdd

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2021 License: Apache-2.0, MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EOF string = "+++EOF+++"

EOF character

Functions

func Format

func Format(time time.Time, layout string) string

func Parse

func Parse(value, format string) (time.Time, error)

Types

type DayFormatter

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

func (*DayFormatter) String

func (self *DayFormatter) String() string

type HourFormatter

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

func (*HourFormatter) String

func (self *HourFormatter) String() string

type ItemFormatter

type ItemFormatter interface {
	// contains filtered or unexported methods
}

type LexToken

type LexToken [3]string

LexToken holds is a (type, value) array.

type MinuteFormatter

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

func (*MinuteFormatter) String

func (self *MinuteFormatter) String() string

type MonthFormatter

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

func (*MonthFormatter) String

func (self *MonthFormatter) String() string

type SecondFormatter

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

func (*SecondFormatter) String

func (self *SecondFormatter) String() string

type YearFormatter

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

func (*YearFormatter) String

func (y *YearFormatter) String() string

Jump to

Keyboard shortcuts

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