Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/carmo-evan/strtotime
/ functions
Functions
23 in github.com/carmo-evan/strtotime
⨍
Functions
23
◇
Types & classes
2
↓ 46 callers
Function
pointer
(x int)
format.go:58
↓ 22 callers
Method
ymd
(y, m, d int)
result.go:49
↓ 17 callers
Method
time
(h, i, s, f int)
result.go:61
↓ 13 callers
Function
lookupMonth
(m string)
strtotime.go:98
↓ 10 callers
Function
processYear
processYear converts a year string such as "75" to a year, such as 1975
strtotime.go:72
↓ 7 callers
Function
processMeridian
processMeridian converts 12 hour format type to 24 hour format
strtotime.go:53
↓ 6 callers
Method
resetTime
()
result.go:75
↓ 5 callers
Function
lookupWeekday
(day string, desiredSundayNumber int)
strtotime.go:158
↓ 4 callers
Function
processTzCorrection
processTzCorrection converts a time zone offset (i.e. GMT-5) to minutes (i.e. 300)
strtotime.go:224
↓ 3 callers
Function
lookupRelative
(rel string)
strtotime.go:183
↓ 3 callers
Method
zone
(minutes int)
result.go:85
↓ 2 callers
Function
lookupNumberToMonth
(m int)
strtotime.go:140
↓ 2 callers
Method
toDate
(re int64)
result.go:95
↓ 1 callers
Function
Parse
Parse takes an English string - such as "next Friday 3 pm" - and an int64 unix timestamp to compare it with. It returns the translated English text in
strtotime.go:16
↓ 1 callers
Function
formats
()
format.go:62
Function
TestLookupMonth
(t *testing.T)
strtotime_test.go:166
Function
TestLookupRelative
(t *testing.T)
strtotime_test.go:255
Function
TestLookupWeekday
(t *testing.T)
strtotime_test.go:221
Function
TestParse
(t *testing.T)
strtotime_test.go:99
Function
TestProcessMeridian
(t *testing.T)
strtotime_test.go:113
Function
TestProcessYear
(t *testing.T)
strtotime_test.go:187
Function
TestResultToDate
(t *testing.T)
strtotime_test.go:316
Function
TestTzCorrection
(t *testing.T)
strtotime_test.go:282