Documentation ¶
Index ¶
Constants ¶
View Source
const ZonesZipFile = "golib/time/zoneinfo.zip"
Variables ¶
View Source
var Sys = NewLocationGetterFunc(func() *time.Location { return time.Local })
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB struct { ByName map[string]*time.Location All []*time.Location // contains filtered or unexported fields }
var (
Db DB
)
type LocationCity ¶
type LocationCity string
func (LocationCity) City ¶
func (this LocationCity) City() string
func (LocationCity) Label ¶
func (this LocationCity) Label() string
func (LocationCity) Location ¶
func (this LocationCity) Location() *time.Location
func (LocationCity) Region ¶
func (this LocationCity) Region() string
func (LocationCity) String ¶
func (this LocationCity) String() string
type LocationGetterFunc ¶
func (LocationGetterFunc) Location ¶
func (this LocationGetterFunc) Location() *time.Location
Click to show internal directories.
Click to hide internal directories.