Documentation
¶
Index ¶
Constants ¶
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct {
Text string
// accumulator of relative values
Duration time.Duration
// Aboslute values
Year, Month, Weekday, Day, Hour, Minute, Second *int
Location *time.Location
}
func (*Context) Precision ¶
func (c *Context) Precision() TimePrecision
type F ¶
type Match ¶
type MatchByIndex ¶
type MatchByIndex []*Match
func (MatchByIndex) Len ¶
func (m MatchByIndex) Len() int
func (MatchByIndex) Less ¶
func (m MatchByIndex) Less(i, j int) bool
func (MatchByIndex) Swap ¶
func (m MatchByIndex) Swap(i, j int)
type MatchByOrder ¶
type MatchByOrder []*Match
func (MatchByOrder) Len ¶
func (m MatchByOrder) Len() int
func (MatchByOrder) Less ¶
func (m MatchByOrder) Less(i, j int) bool
func (MatchByOrder) Swap ¶
func (m MatchByOrder) Swap(i, j int)
type TimePrecision ¶
Click to show internal directories.
Click to hide internal directories.