MCPcopy
hub / github.com/pocketbase/pocketbase / After

Method After

tools/types/datetime.go:61–63  ·  view source on GitHub ↗

After reports whether the current DateTime instance is after u.

(u DateTime)

Source from the content-addressed store, hash-verified

59
60// After reports whether the current DateTime instance is after u.
61func (d DateTime) After(u DateTime) bool {
62 return d.Time().After(u.Time())
63}
64
65// Before reports whether the current DateTime instance is before u.
66func (d DateTime) Before(u DateTime) bool {

Callers 6

TestDateTimeAfterFunction · 0.80
ProcessMethod · 0.80

Calls 1

TimeMethod · 0.95

Tested by 4

TestDateTimeAfterFunction · 0.64