v0.0.590 more rfctime equal fixes for chris
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 2m34s
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 2m34s
This commit is contained in:
@@ -136,11 +136,12 @@ func (t UnixNanoTime) Before(u AnyTime) bool {
|
||||
return t.Time().Before(tt(u))
|
||||
}
|
||||
|
||||
func (t *UnixNanoTime) Equal(u AnyTime) bool {
|
||||
if t == nil && u == nil {
|
||||
return true
|
||||
}
|
||||
if t == nil || u == nil {
|
||||
func (t UnixNanoTime) Equal(u UnixNanoTime) bool {
|
||||
return t.Time().Equal(u.Time())
|
||||
}
|
||||
|
||||
func (t UnixNanoTime) EqualAny(u AnyTime) bool {
|
||||
if u == nil {
|
||||
return false
|
||||
}
|
||||
return t.Time().Equal(tt(u))
|
||||
|
Reference in New Issue
Block a user