After reports whether the current DateTime instance is after u.
(u DateTime)
| 59 | |
| 60 | // After reports whether the current DateTime instance is after u. |
| 61 | func (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. |
| 66 | func (d DateTime) Before(u DateTime) bool { |