Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Ast = struct { RqlTzinfo func(tz string) *time.Location Fromtimestamp func(ts float64, loc *time.Location) time.Time Now func() time.Time }{ func(tz string) *time.Location { t, _ := time.Parse("-07:00 UTC", tz+" UTC") return t.Location() }, func(ts float64, loc *time.Location) time.Time { sec, nsec := math.Modf(ts) return time.Unix(int64(sec), int64(nsec*1000)*1000000).In(loc) }, time.Now, }
View Source
var FloatInfo = struct { Min, Max float64 }{math.SmallestNonzeroFloat64, math.MaxFloat64}
Functions ¶
func PacificTimeZone ¶
func UTCTimeZone ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.